Automations

List automation events

Changed on

One row per comment or message the automation acted on, newest first: the DM that was sent, an answer that waits in the queue, a skip with its reason, or a failure with the platform's error. counts gives the total per outcome. On Facebook person.username is the person's name and kind is comment or dm; on X kind is always dm and opted_out rows mark people who replied STOP.

get/automations/{id}/events

Request

  • Base URL
    https://api.omnisocials.com/v1
  • URL
    https://api.omnisocials.com/v1/automations/{id}/events
  • Auth
    HTTP bearer

Path parameters

idstring required

Query parameters

outcome'sent' | 'queued' | 'skipped' | 'opted_out' | 'failed' | 'pending'

queued = waits for room under the channel's send cap (at most an hour); opted_out = the person wrote STOP (X).

limitinteger
offsetinteger

Response

Activity

countsobject

Rows per outcome, e.g. { "sent": 12, "skipped": 3 }.

Example response

{
  "pagination": {
    "total": 42,
    "limit": 20,
    "has_more": true
  }
}

Changes

    • warning

      added the new opted_out enum value to the // response property for the response status

    • warning

      added the new queued enum value to the // response property for the response status

    • info

      added the new enum value opted_out to the query request parameter outcome

    • info

      added the new enum value queued to the query request parameter outcome

    • info

      endpoint added