Skip to content

API Response

Most API endpoints return responses in a standardized JSON format, no matter what Accept header is passed in the API request. This ensures consistency across the entire API and makes it easier to handle responses in your application.

codeintegerRequired

Response code

messagestringRequired

Response message

dataobject | array

Response data

paginationobject

Pagination information

page_sizeintegerRequired

Page size

pageintegerRequired

Current page

total_itemsinteger

Total items

When an API request is successful:

  • HTTP Status Code: Usually 200 OK; some entity creation endpoints use 201 Created
  • code: Always 0 for successful standard responses
  • message: Always OK for successful standard responses
  • data: Contains the actual response data, structure varies by endpoint

When an API request fails:

  • HTTP Status Code: Varies based on error type (4xx or 5xx)
  • code: Non-zero error code (see response codes table below)
  • message: Human-readable error description
CodeDescription
0Success
1Internal error
2Route not found
3Invalid request origin
4Authentication method not allowed
5Resource not found
6Service unavailable
11Too many requests
1000Invalid search parameters
1001Invalid JSON body payload or JSON validation failed
1002Invalid upload payload
1003Image contains inappropriate content
2000Unauthenticated
2001Invalid auth header
2002Invalid token format
2100Invalid OAuth code
2101Invalid OAuth state
2200Unauthorized
2201Unauthorized, missing required token scope
2202Unauthorized, missing required organization member scope
3000User not found
3001User already exists
3002Username update cooldown is active
3007Account disabled
3008Publishing disabled
3200Notification not found
3201Notification already read
3500Organization not found
3501Organization slug already used
3502Organization exceeds limit
3503Organization slug update cooldown is active
3600Organization member not found
3601Organization member already exists
3603Organization owner cannot be removed; transfer ownership first
3604Organization ownership transfer target must be an accepted member
3700Organization invitation not found or invalid
4000Token not found
5000Project not found
5001Project slug already used
5002Unacceptable project slug
5003Project cannot be modified in its current status
5004Project slug update cooldown is active
5100Project keyword not found
5101Project keyword already exists
5102Project keyword exceeds limit
5200Project channel not found
5201Project channel already exists
5202Project channel exceeds limit
5203Cannot delete default channel
5204Project channel slug update cooldown is active
5205One or more channels in the batch are invalid or do not belong to the project
5300Project version not found
5301Project version already exists
5302One or more versions in the batch are invalid or do not belong to the project
5400Invalid project dependency
5500Tag group not found
5501Tag group slug already exists
5502Invalid tag group mode
5503Invalid featured tags
5504Duplicate tag slug in project tags
6000Automation profile not found
6001Duplicate automation profile
6002Automation run not found
6003Invalid automation profile
6004Automation callback authentication failed
6005Automation callback expired
6006Invalid automation callback payload
6007Automation callback does not match the stored run
6008Automation migration action required for source project with an automation profile
6009Failed to fetch from GitHub API
6010A manual automation run is already queued or running
6011Automation run cannot be deleted
6012Invalid import automation metadata
6013Automation profile ownership conflict with import snapshot
6014Project already has an import in progress