POST /projects/{project}/auth/tokens
Project API Tokens
POST /projects/{project}/auth/tokens
Creates a new Project API Token for the project.
POST
POST /projects/{project}/auth/tokens
Creates a new Project API Token for the project.
Full request:
Error or alternate response:
Endpoint details
Bearer
pat_... (Project API Token). Keep this token on your backend/server.Project slug. This acts as the Project ID in API paths.
true for a successful response and false for an error response.Endpoint-specific response data when
ok is true; null on errors.Error code and message when
ok is false; null on success.Request identifier you can use when troubleshooting a specific API call.
Authentication
Project API Token.Parameters
Body:token_name optional. If you send token_type, it must be project_api_token.