Skip to content

Error Codes & Statuses ​

PingoLine returns conventional HTTP response status codes.

CodeStatusMeaning
200OKRequest succeeded
201CreatedResource created (e.g. order call queued)
202AcceptedAsynchronous action started (e.g. call originating)
401UnauthorizedMissing, invalid, or expired API token
403ForbiddenInsufficient scope or feature add-on missing
404Not FoundResource not found
422Unprocessable EntityValidation failed on request parameters
429Too Many RequestsRate limit or daily quota exceeded
500Server ErrorInternal error

Error Body Structure ​

When a request encounters an error, the response JSON includes an error object:

json
{
  "error": {
    "code": "invalid_request",
    "message": "The phone field is required."
  }
}

Released under the MIT License.