Creates a new API token. The secret is returned **once** in this response and cannot be retrieved again — store it securely.
Creates a new API token. The secret is returned once in this response and cannot be retrieved again — store it securely.
Creates a token and returns its secret once.
POST
/auth/tokensBearer token — `Bearer dxb_live_…`.
Response
201Token created
cURL
curl --request POST \ --url https://api.doxbrix.io/v1/auth/tokens
{ "id": "tok_01J8", "name": "ci-publisher", "scopes": ["write","publish"], "token": "dxb_live_xxxxxxxx" }