Skip to main content

Request

curl -H "Authorization: your-api-key" \
  "https://api.socialsyncs.co/public/v1/automations/{id}/logs?limit=50"

# Next page
curl -H "Authorization: your-api-key" \
  "https://api.socialsyncs.co/public/v1/automations/{id}/logs?limit=50&cursor=your-cursor"

Path Parameters

ParameterTypeDescription
idstringThe automation ID

Query Parameters

ParameterTypeDescription
limitnumberNumber of logs to return (1–200, default: 50)
cursorstringPagination cursor from previous response

Response

FieldTypeDescription
itemsarrayArray of log entries
nextCursorstring | nullPass this as cursor to get the next page. null means no more pages.
Each log entry:
FieldTypeDescription
idstringLog entry ID
statestringSUCCESS or FAILED
matchedKeywordstring | nullThe keyword that triggered this run
triggerPayloadstringJSON snapshot of the event that triggered the automation
errorMessagestring | nullError detail if state is FAILED
externalRefIdstring | nullID returned by Instagram for the sent message
createdAtstringISO 8601 timestamp