API referenceAPI keys
List API keys
GET
/api-keysAuthorization
apiKey AuthorizationBearer <token>
A project API key: Authorization: Bearer s0_…
In: header
Query Parameters
limit?integer
Range
1 <= value <= 100after?string
Length
1 <= length <= 64before?string
Length
1 <= length <= 64Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api-keys"{ "object": "list", "has_more": true, "data": [ { "id": "string", "name": "string", "permission": "full_access", "domain_id": "string", "inbox_id": "string", "token_prefix": "string", "created_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z" } ]}Send a test event POST
Queues a signed test event to the endpoint and returns the delivery. `type` picks the event type of the sample payload.
Create an API key POST
The `s0_` token is returned once. `sending_access` keys may only send; add `domain_id` to restrict sending to one domain, or `inbox_id` for an agent key scoped to one inbox.