Add subscription

POST
/api/v2/subscriptions

Create a new subscription (destination).

AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Example: 'Bearer {token}'

In: header

Request Body

application/json

The destination data.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/subscriptions" \  -H "Content-Type: application/json" \  -d '{    "triggerType": "string",    "type": "string",    "email": {}  }'
"string"