Skip to content

Security

Generate API tokens for programmatic access to the platform.

Generate API tokens for programmatic access

Create API tokens tied to specific team members for CI/CD pipelines, automation, or third-party integrations.

curl -X POST "/api/v1/tenants/:tenantId/tokens?apiKey=<your-api-key>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "CI/CD Pipeline Token",
    "member": { "id": "<member-id>" },
    "expiresAt": "2025-12-31T23:59:59Z"
  }'

The response includes the generated key — use it as apiKey query parameter in future requests.

# Using API token
curl "/api/v1/tenants/:tenantId/buckets?apiKey=<generated-key>"