Skip to main content
POST
Create an API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Required string length: 1 - 128
expiration
enum<string>
default:never
Available options:
never,
1d,
7d,
30d,
60d,
90d,
180d
scopes
enum<string>[]
Minimum array length: 1
Available options:
accounts:read,
posts:read,
posts:write,
media:write,
integrations:subscriptions

Response

API key created. The secret is returned only once.

ok
boolean
required
data
object
required