Overview
Last updated
Last updated
This page contains some essential things to know about the interactions between Rezi and your server.
For API reference documentation, see the "Rezi API" section in the sidebar.
Rezi mostly sends requests to a Rezi server rather than the reverse. This means most requests are inbound (from your service to Rezi) and not outbound (from Rezi to your service). It’s only in certain situations that Rezi sends requests to your service, such as at .
When you send requests:
The request bodies are serialized as JSON.
Get your Bearer
The properties in the request body depend on:
The endpoint is receiving the request.
Rezi occasionally adds new properties to response bodies. This is considered a non-breaking change. Your extensions must be prepared to handle the presence of new fields.
Rezi receives all requests to a single base URL.
https://open-api.rezi.ai/v1
Rezi responds to requests with JSON bodies. The body include a type
property that identifies whether or not the request was successful.
If the value of the status
property is "success"
, the response body must conform to a schema that is (typically) determined by the path of the request. The exact schemas are detailed in the API reference documentation.
If the value of the status
property is "error"
, the response contains an errorCode
property that indicates what went wrong. The supported error codes are listed in the API reference documentation.
This is an example of an "ERROR"
response:
You can expect Rezi endpoints to respond to requests with a 200
status code—even if an error has occurred. The only exception to this rule is when a request fails due to the server. In that case, the endpoint should reject the request with a 500
status code.
All HTTP requests that send to Rezi have a timeout duration. If Rezi fails to respond to the request within this duration, the request fails. The exact duration depends on the request.
If timeouts occur too frequently, Please contact your account manager.
This is an example of a "success"
response for the endpoint: