GBG GO APIs use conventional HTTP response codes to indicate the success or failure of an API request.

CodeDescriptionNotes
200OkRequest successful
201CreatedNew resource created successfully
400Bad requestRequest invalid or missing required parameters
401UnauthorizedNo valid authentication token or token expired
403ForbiddenNo permission to access the requested resource
404Not foundRequested resource or endpoint does not exist
405Method not allowedHTTP method used (e.g., GET, POST) is not supported
500Internal server errorA problem with the API, which may not be related to your request server
503Service unavailableAPI service is temporarily down

For more details on API response codes and troubleshooting, refer to Error handling.