Skip to main content
POST
Create a new API key

Authorizations

Authorization
string
header
default:your-api-key
required

API key as Bearer token (e.g. Bearer mp_abc123_secret)

Body

application/json
name
string

Custom key name

scopes
enum<string>[]

Optional API scopes for the new key. Omit for full access.

Minimum array length: 1
Available options:
account:read,
usage:read,
content:run,
jobs:read,
crawl:run,
keys:read,
keys:write,
credits:purchase

Response

API key created

apiKey
string
key
object