API Keys
Create API key
Generate a new API key. The full key value is returned only once in the response. Store it securely.
post/v1/api-keys
Request
- Base URL: https://smtpfa.st/api
- URL: https://smtpfa.st/api/v1/api-keys
- Auth: HTTP bearer
Request body
Example request
{
"name": "Production",
"scopes": [
"email:send",
"domain:read"
]
}Response
API key created (includes the full key value)
Example response
{
"id": "key_abc123",
"name": "Production",
"key": "sf_live_abc123def456...",
"prefix": "sf_live_a",
"scopes": [
"emails:send",
"domains:read"
],
"created_at": "2026-04-05T12:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.