DocsAPI ReferenceAPI Keys

API Keys

Create and manage API keys.

List keys

code
GET /api/v1/api-keys

Create a key

code
POST /api/v1/api-keys
json
{ "name": "my-app" }

Response (201):

json
{
  "api_key": "sm_live_abc123...",
  "info": { "id": "...", "name": "my-app", "prefix": "sm_live_abc1" }
}
The full key is only returned at creation. Store it securely.

Delete a key

code
DELETE /api/v1/api-keys/:id