Status codes

GSMtasks uses conventional HTTP response codes to indicate success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that resulted from the provided information (e.g. a required parameter was missing, a charge failed, etc.), and codes in the 5xx range indicate an error with GSMtasks's servers.

Status codeStatus textDescription
200OKEverything worked as expected.
400Bad RequestOften missing a required parameter.
401UnauthorizedNo valid API key provided.
402Request FailedParameters were valid but request failed.
404Not FoundThe requested item doesn't exist.
429Too Many RequestsToo many requests hit the API too quickly.
50*Server ErrorsSomething went wrong on our end.