cURL
curl --request POST \ --url https://api.deck.co/v2/event-destinations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "type": "<string>", "events": [ "<string>" ], "topics": [ "<string>" ], "resolved_events": [ "<string>" ], "type_config": "<unknown>" } '
{ "id": "<string>", "name": "<string>", "status": "<string>", "type": "<string>", "events": [ "<string>" ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "object": "<string>", "request_id": "<string>" }
Clerk JWT, client credential JWT, or secret key (sk_live_...)
Created
Was this page helpful?