DestinationsList delivery attempts

List delivery attempts

List destination delivery attempts for the calling location, newest first. Backed by analytics; defaults to the last 7 days when no since is given. Both agency and viewer keys may read.

Associating deliveries with events (profile activity stream). Every delivery records the event_uuid of the event that triggered it, which is the same value as the uuid field on rows from the activity endpoints (e.g. GET /client/v1/data/people/{personId}/activity). To show "this event was sent to a destination" indicators across a page of activity, pass that page's event uuids as a comma-separated event_uuid list (up to 200) in a single call, then group the returned rows by event_uuid client-side. Widen since to cover the activity window (the default is only 7 days). For the sent request body and the destination's response body, drill into GET /client/v1/destinations/{id}/deliveries/{eventUuid}.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/destinations/deliveries?action_id=123e4567-e89b-12d3-a456-426614174000&status=success&event_uuid=example_string&since=2024-12-25T10%3A00%3A00Z&until=2024-12-25T10%3A00%3A00Z&limit=50&offset=0" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": [
    {
      "ts": "2024-12-25T10:00:00Z",
      "action_id": "123e4567-e89b-12d3-a456-426614174000",
      "action_name": "John Doe",
      "destination_type": "webhook",
      "event_name": "John Doe",
      "event_uuid": "example_string",
      "destination_event_name": "John Doe",
      "status": "success",
      "attempt": 42,
      "max_attempts": 42,
      "response_status": 42,
      "error": "example_string",
      "duration_ms": 3.14,
      "queued_at": "2024-12-25T10:00:00Z",
      "enrichment_applied": true
    }
  ],
  "limit": 50,
  "offset": 0
}
GET
/client/v1/destinations/deliveries
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.
query
action_idstring

Filter to a single destination id.

Format: uuid
query
statusstring

Filter by delivery status.

Options: success, failed, retrying, skipped, test
query
event_uuidstring

Filter to deliveries triggered by a source event. Accepts a single event uuid, or a comma-separated list (up to 200) to resolve delivery status for a whole batch of events in one request — see the endpoint description for the profile activity-stream use case. Each value matches the uuid field on an event returned by the activity endpoints.

query
sincestring

Lower time bound. ISO 8601 or YYYY-MM-DD HH:MM:SS. Defaults to 7 days ago when omitted.

Format: date-time
query
untilstring

Upper time bound. ISO 8601 or YYYY-MM-DD HH:MM:SS.

Format: date-time
query
limitinteger

Maximum rows. Default 50, min 1, max 500.

Min: 1 • Max: 500
query
offsetinteger

Rows to skip. Default 0.

Min: 0
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Client key as bearer token. Use an agency key (Bearer ak_...) for read-write access or a location secret key (Bearer sk_...) for read-only access. Scoped keys (mcp_) are accepted too and need destinations:read or destinations:write. See Using an mcp_ key over HTTP.

Query Parameters

action_idstring

Filter to a single destination id.

statusstring

Filter by delivery status.

Allowed values:successfailedretryingskippedtest
event_uuidstring

Filter to deliveries triggered by a source event. Accepts a single event uuid, or a comma-separated list (up to 200) to resolve delivery status for a whole batch of events in one request — see the endpoint description for the profile activity-stream use case. Each value matches the uuid field on an event returned by the activity endpoints.

sincestring

Lower time bound. ISO 8601 or YYYY-MM-DD HH:MM:SS. Defaults to 7 days ago when omitted.

untilstring

Upper time bound. ISO 8601 or YYYY-MM-DD HH:MM:SS.

limitinteger

Maximum rows. Default 50, min 1, max 500.

offsetinteger

Rows to skip. Default 0.

Responses

successboolean
dataarray
limitinteger
offsetinteger