400 Bad Request - Invalid request

{
  "error": {
    "status": 400,
    "code": "INVALID_REQUEST",
    "links": {
      "documentation": "https://docs.zenloop.com/#authentication"
    },
    "title": "Invalid request body.",
    "details": [
      {
        "detail": "Required property email was not present.",
        "pointer": "/user"
      },
      {
        "detail": "Required property password was not present.",
        "pointer": "/user"
      }
    ]
  }
}
AttributeTypeDescription
errorobjectError object.
error.statusnumberStatus code.
error.codestringError code.
error.linksobjectLinks object.
error.links.documentationstringURL link to documentation.
error.titlestringError title.
error.detailsarrayList with error details.
error.details.pointerstringPointer to specific attribute.
error.details.detailstringError message for pointer.

400 Bad Request - Validation errors

{
  "error": {
    "status": 400,
    "code": "VALIDATION_ERRORS",
    "title": "Validation errors occurred.",
    "details": [
      {
        "detail": "has invalid format",
        "field": "email"
      }
    ]
  }
}
AttributeTypeDescription
errorobjectError object.
error.statusnumberStatus code.
error.codestringError code.
error.titlestringError title.
error.detailsarrayList with error details.
error.details.fieldstringField name.
error.details.detailstringError message for pointer.

401 Unauthorized

{
  "error": {
    "status": 401,
    "code": "UNAUTHORIZED",
    "title": "Invalid or expired token.",
  }
}
AttributeTypeDescription
errorobjectError object.
error.statusnumberStatus code.
error.codestringError code.
error.titlestringError title.

403 Forbidden

{
  "error": {
    "status": 403,
    "code": "FORBIDDEN",
    "title": "Access denied."
  }
}
AttributeTypeDescription
errorobjectError object.
error.statusnumberStatus code.
error.codestringError code.
error.titlestringError title.

404 Not Found

{
  "error": {
    "status": 404,
    "code": "NOT_FOUND",
    "title": "Survey not found.",
  }
}
AttributeTypeDescription
errorobjectError object.
error.statusnumberStatus code.
error.codestringError code.
error.titlestringError title.

409 Conflict

{
  "error": {
    "status": 409,
    "code": "ALREADY_EXISTS",
    "title": "Recipient already exists.",
  }
}
AttributeTypeDescription
errorobjectError object.
error.statusnumberStatus code.
error.codestringError code.
error.titlestringError title.

429 Too Many Requests

{
  "error": {
    "status": 429,
    "code": "TOO_MANY_REQUESTS",
    "title": "Rate limit exceeded.",
  }
}
AttributeTypeDescription
errorobjectError object.
error.statusnumberStatus code.
error.codestringError code.
error.titlestringError title.