Create a new service account
service-accounts
Create a new service account
Create a new service account.
Creates a new service account and returns the full authentication token. Important: The full token is only shown once during creation. Store it securely.
Context:
- This API creates organization-scoped accounts only
- Token format: saf__
Use Cases:
- Create API integration accounts
- Set up automated workflows
- Enable programmatic access to platform resources
Related Endpoints:
- GET /service-accounts - List all accounts
- GET /service-accounts/ - Get account details
- PATCH /service-accounts/ - Update account
POST
Create a new service account
Authorizations
API key authentication. Include your API key in the X-API-Key header as: X-API-Key YOUR_API_KEY
Example:
JWT Bearer token authentication. Include your access token in the Authorization header as: Bearer YOUR_ACCESS_TOKEN
Example:
Body
application/json
Public API request payload for creating a new service account.
Note: API can only create organization-scoped service accounts.
Response
Service account created successfully