Skip to content
Not available yet. Replyz is built and tested, but not deployed: https://api.replyz.io is the planned address and does not answer yet. These pages describe the API as it is built today and may change before launch.

invalid_json

HTTP 400 · The request body is not a JSON object.

Endpoints: POST /v1/signup, POST /v1/inboxes, PATCH /v1/inboxes/{id}

When Message (as returned) Fix (as returned)
The body does not parse as JSON, or is JSON but not an object (an array, string, number or null). An empty body counts as {}. Content-Type is not checked. Body must be a JSON object. Send Content-Type: application/json with a JSON object.
  • Send a JSON object as the body.
{
"type": "https://docs.replyz.io/errors/invalid_json",
"code": "invalid_json",
"status": 400,
"message": "Body must be a JSON object.",
"fix": "Send Content-Type: application/json with a JSON object.",
"docs": "https://docs.replyz.io/errors/invalid_json.md"
}

All codes: Errors.