Subscriptions

List webhook subscriptions

Returns the cursor-paginated webhook subscriptions for the authenticated account.

get/subscriptions

Request

  • Base URL
    https://api.textla.com/v1
  • Auth
    HTTP bearer

Query parameters

cursorstring

Opaque next_cursor from a prior page; omit to start at the beginning.

limitinteger

Maximum subscriptions to return in the page.

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

next_cursorstring nullable required

Cursor for the next page. Null when this is the last page.

Example response

{
  "$schema": "/v1/schemas/SubscriptionPage.json",
  "items": [
    {
      "$schema": "/v1/schemas/Subscription.json",
      "account_id": "Ab2c3d4f5g6",
      "id": "sub_2c8f...b1",
      "target_url": "https://example.com/hooks/sms",
      "types": [
        "campaign.sent"
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.