Skip to main content
POST
Create API token

Authorizations

Authorization
string
header
required

Session access JWT or an API token (insta_<prefix>_<secret>).

Body

application/json
name
string
required
orgId
string<uuid> | null
projectId
string<uuid> | null

requires orgId; the project must belong to that org

access

default full; read_only accepts GET/HEAD only

Available options:
full
expiresInDays
integer

Response

Default Response

token
string
Example:

"insta_xxxxxxxxxxxxxxxxxxxxxxxx"

record
object

Public view of an API token (never includes the secret).