API keys

Create an API key

The full key is returned once.

post/v1/api-keys

Request

  • Base URL: https://api.send0.dev
  • URL: https://api.send0.dev/v1/api-keys
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Retry-safe POSTs: same key + same body returns the stored response for 24 hours.

Request body

namestring required
scopesstring[]
inbox_idsstring[] nullable

Response

ApiKeyWithSecret

object'api_key' required
idstring required
namestring required
prefixstring required
mode'live' | 'test' required
scopesstring[] required
inbox_idsstring[] nullable required
last_used_atstring date-time nullable required
created_atstring date-time required
keystring required

Shown once

Changes

No recorded changes to this operation across all 1 revision of this API.