Snap kit execution
Deferred Snap Kit Action Execute
Executes deferred snap-kit actions.
AuthorizationBearer <token>
All the DevRev APIs require a token to authenticate the user. Provide Authorization: Bearer <TOKEN>
as a header to every API request.
How do I find my token?
In: header
actionsarray<snap-kit-action-request>
List of actions triggered in the request.
Items
items <= 5
idstring
ID of the deferred snap-kit action to be executed.
Format
id
Response Body
curl -X POST "https://api.devrev.ai/snap-kit-action.execute.deferred" \ -H "Content-Type: application/json" \ -d '{ "actions": [ { "type": "button", "action_id": "string", "timestamp": "2023-01-01T12:00:00.000Z", "value": "string" } ], "id": "string" }'
{}
{
"detail": "string",
"message": "string",
"type": "artifact_already_attached_to_a_parent",
"existing_parent": "string",
"is_same": true
}
{
"detail": "string",
"message": "string",
"type": "unauthenticated"
}
{
"detail": "string",
"message": "string",
"type": "forbidden"
}
{
"detail": "string",
"message": "string",
"type": "too_many_requests",
"retry_after": 0
}
{
"detail": "string",
"message": "string",
"type": "internal_error",
"reference_id": "string"
}
{
"detail": "string",
"message": "string",
"type": "service_unavailable"
}