Automations
List the runs of a DM automation
GET
Each time it acted on someone: sent, skipped (with a reason) or failed. Newest first.
Requires the read scope.
bearerheader
AuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringFormat
uuidstatus?stringValue in
"queued""sent""skipped""failed"limit?integerRange
1 <= value <= 100Default
30cursor?stringTebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
A page of runs.
application/json- response
data*array<>next_cursor*string|nullcurl -X GET 'https://api.tebar.app/v1/automations/497f6eca-6276-4993-bfeb-53cbbbba6f08/runs'Example Response
{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"step": "trigger",
"status": "queued",
"reason": "string",
"participant_platform_id": "string",
"participant_username": "string",
"participant_name": "string",
"participant_avatar_url": "string",
"conversation_id": "cc71b11a-25cd-4c2d-9950-df2cc38e3407",
"trigger_text": "string",
"trigger_ref": "string",
"run_at": "2019-08-24T14:15:22Z",
"finished_at": "2019-08-24T14:15:22Z"
}
],
"next_cursor": "string"
}