iGUIDE DocsiGUIDE Docs
REST API
Viewer API
  • Create Params
  • Embed iGUIDE
About iGUIDE
REST API
Viewer API
  • Create Params
  • Embed iGUIDE
About iGUIDE
  • Introduction
  • RESO-compliant API
  • View API
  • Webhooks
  • API Responses

API Responses

The API uses HTTP status codes to indicate whether a request has succeeded or failed. 2xx status codes represent a successful request, 4xx/5xx status codes represent a failed request. If you receive an error HTTP status code, check the body for an error code and message.

HTTP Response Codes

Status CodeDescriptionMost Likely Cause
2xxSuccessful Request 
400Bad RequestInvalid/missing data
401UnauthorizedInvalid/missing credentials
403ForbiddenInsufficient permissions to perform the operation on the resource
404Not FoundThe resource does not exist, e.g. invalid/non-existent iGUIDE id
409ConflictAttempt to overwrite a resource, e.g. when creating a user with an email that already exists
429Too Many RequestsExceeded the API rate limit
500Server-side errorSomething is wrong on the server side, retry later. If the error persists, please report it.
501Not ImplementedThe operation is not implemented.

API Response Object

When an operation fails (HTTP status code >=400), the body of the HTTP reply will contain a more detailed explanation of the failure. The body is a JSON object with the following scheme:

PropertyTypeDescription
codestringThe error code
messagestringA developer-facing status message. Ideally this should not be displayed to an end user.

Examples

Response for successful operation

HTTP/1.1 200 OK
Content-Type: application/json

{
  ... SOME JSON DATA HERE ...
}

Error response for invalid request body

HTTP/1.1 400 Bad Request
Content-Type: application/json

{
  "code": "invalid_argument",
  "message": "Invalid request body"
}

Error response for unauthorized request

HTTP/1.1 401 Unauthorized
Content-Type: application/json

{
  "code": "unauthenticated",
  "message": "Unauthorized request"
}
Last Updated:
Prev
Webhooks