Create an API key
Create a new API key. The plain-text token is only returned once in the response — store it securely.
Documentation Index
Fetch the complete documentation index at: https://docs.sendkit.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key from your SendKit dashboard. Pass it as a Bearer token in the Authorization header.
Body
A descriptive name for the API key.
255"Production Key"
The permission level. full grants access to all endpoints, send only allows sending emails.
full, send "full"
Scope the key to a specific domain. The domain must belong to your team.
null
When the API key should expire. Must be a future date. Null for no expiration.
"2027-01-01 00:00:00"
Response
API key created successfully. The token field contains the plain-text key.
Unique identifier.
"550e8400-e29b-41d4-a716-446655440000"
The name of the API key.
"Production Key"
The permission level. full grants access to all endpoints, send only allows sending emails.
full, send "full"
The domain this key is scoped to. If null, the key can send from any verified domain.
null
The current status of the API key.
"active"
When the API key expires. Null if it does not expire.
null
When the API key was last used.
"2026-03-03 10:00:00"
When the API key was created.
"2026-03-03 10:00:00"
The plain-text API key. Only returned once at creation time.
"sk_aBcDeFgHiJkLmNoPqRsTuVwXyZ012345678901234567"

