API Response Structure

Returned value on success:

  • HTTP status 200 (OK)

  • A JSON string (content varies depending on which API is called)

Returned value on failure:

  • HTTP status 500 (Internal Server Error), 400 (Bad Request), or 401 (Unauthorized)

  • A JSON structure with the error details