GET /v1/sandbox/triggers/{id}
How a sandbox trigger ended.
| Access | |
|---|---|
| Keys | secret only |
| Plan | every plan |
| Environment | sandbox only |
| Acts for | one consumer |
| While the account is suspended | works |
| During a data stop | works |
Path
| Name | Type | Description |
|---|---|---|
id |
string | Required. The trigger's ID, "trg_…", from the answer that accepted it. |
Headers
| Name | Description |
|---|---|
X-Client-Token |
With a publishable key: required. A token your server minted for the consumer with POST /v1/client-tokens. |
X-Client-Id |
With a secret key: required. Your own opaque ID for the consumer. |
Answers
200: The trigger
The answer is { data, meta }; meta holds requestId and environment.
data is a SandboxTrigger.
Errors
| Status | Codes |
|---|---|
| 400 | client_id_must_be_opaque, validation_failed |
| 401 | invalid_api_key, key_revoked, missing_api_key |
| 403 | account_pending, origin_not_allowed, secret_key_in_browser, secret_key_required |
| 404 | not_found |
| 429 | rate_limited |
| 500 | internal_error, temporarily_unavailable |
Every error has the same body, and says how to fix it (responses and errors).
More
With the same key and X-Client-Id, shows how a trigger ended:
status:pending,doneorfailed;noticeId: the ID of the notice the change produced, oncedone(the same ID as inGET /v1/eventsand in the webhook delivery);nullfornext_digest;reason: why afailedtrigger could not be completed (when a trigger fails).
This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.