# Developer - X-Radius API

> Base URL: https://x-radius.com/api/v1
> Auth: Authorization: Bearer xrt_...  (a manager API token)
> Envelope: {"data": ...}; lists add {"meta":{page,page_size,total,has_next}}
> Errors: {"error":{"code","message","request_id"}} - branch on code, never on message
> Timestamps: yyyy-MM-dd HH:mm:ss, UTC
> Money: a bare JSON number in major units, with an ISO-4217 currency code beside it
> Idempotency: redeem and activate endpoints take a client-supplied request_id (UUID)
>
> This page: https://x-radius.com/docs/api/developer
> Every group: https://x-radius.com/llms.txt

10 endpoints in 1 resource groups. 0 carry a hand-written reference entry with examples; the remaining 10 are generated from the running router and carry method, path, authentication, permission and rate-limit bucket, but no request or response example.

### View and revoke ALL API tokens in this tenant

`GET /api/v1/developer/admin/api-tokens`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens_all` (View and revoke ALL API tokens in this tenant)
- Risk: danger
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### View and revoke ALL API tokens in this tenant

`DELETE /api/v1/developer/admin/api-tokens/{id}`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens_all` (View and revoke ALL API tokens in this tenant)
- Risk: danger
- Rate limit bucket: `t_mutate`
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage my API tokens

`GET /api/v1/developer/api-tokens`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens` (Create and manage my API tokens)
- Risk: danger
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage my API tokens

`POST /api/v1/developer/api-tokens`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens` (Create and manage my API tokens)
- Risk: danger
- Rate limit bucket: `t_mutate`
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage my API tokens

`GET /api/v1/developer/api-tokens/scopes`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens` (Create and manage my API tokens)
- Risk: danger
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage my API tokens

`DELETE /api/v1/developer/api-tokens/{id}`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens` (Create and manage my API tokens)
- Risk: danger
- Rate limit bucket: `t_mutate`
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage my API tokens

`PATCH /api/v1/developer/api-tokens/{id}`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens` (Create and manage my API tokens)
- Risk: danger
- Rate limit bucket: `t_mutate`
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage my API tokens

`DELETE /api/v1/developer/api-tokens/{id}/record`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens` (Create and manage my API tokens)
- Risk: danger
- Rate limit bucket: `t_mutate`
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage my API tokens

`POST /api/v1/developer/api-tokens/{id}/reveal`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens` (Create and manage my API tokens)
- Risk: danger
- Rate limit bucket: `api_token_reveal`
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


### Create and manage my API tokens

`POST /api/v1/developer/api-tokens/{id}/roll`

- Authentication: manager session (JWT) or API token
- Permission: `prm_api_tokens` (Create and manage my API tokens)
- Risk: danger
- Rate limit bucket: `t_mutate`
- Not available to API tokens: this route requires an interactive manager session

_This endpoint has no hand-written reference entry yet. The method, path, authentication, permission and rate limit above are generated from the running router and are accurate; there is no request or response example._


