Subscriptions

Get trigger by id.

Changed on

Returns a trigger for the given id.

This object represents the trigger where the subscription owner has subscribed to.

get/v1/subscriptions/{id}/triggers/{triggerId}

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v1/subscriptions/{id}/triggers/{triggerId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

Specifies the unique subscription ID (starts with sub_).

triggerIdstring required

Specifies the unique subscription ID (starts with sub_).

Response

Successful response.

idstring required
object'trigger' required
createdAtinteger required
targetstring required
type'webhook' | 'email' required
subscriptionstring required
activeboolean required

Whether the trigger is active. Webhook triggers are automatically deactivated after repeated delivery failures and can be re-enabled.

updatedAtnumber double

Changes