Aller au contenu principal

List Destinations

GET 

/v1/destinations

The account's destinations, by name: each one's id, kind, name, status (unverified until a test send passes, then ok; failing after five failed sends in a row) and a masked target. Any member: name a destination in a watcher with {"destination": <id>} in a notify's to, or as a webhook action's destinationId. Only an ok or failing destination may be named.

Cursor-paginated: pass the returned nextKey back as exclusiveStartKey; nextKey: null means the last page.

Cursor-paginated. The wire query parameter is exclusiveStartKey (what the cURL tab and the parameter table show); the TypeScript SDK takes it as the exclusiveStartKey option and the Python SDK as the exclusive_start_key keyword — one parameter, spelled per language. Pass the previous page's nextKey and stop when it comes back null — or let iterAll() / iter_all() drive the cursor for you (see the SDKs page, "Pagination").

Request​

Responses​

Successful Response