POST
Mint a scoped service-account key (returned once).

Authorizations

X-Agent-Key
string
header
required

Service-account key, format sq_agt_*. Carries least-privilege scopes.

Body

application/json
name
string
required
scopes
string[]
required
store_ids
string[]
expires_at
string<date-time>
rate_limit_per_min
integer
requires_approval
boolean
default:false

Response

201

Created — secret shown once