

transferring a call or playing back an audio file.

Each object in the steps array in a call flow describes an operation that executes during a call, e.g.

A number in this context is a purchased number that can be called on the traditional phone network. Call flows can be assigned to multiple numbers. Check if the body contents correspond with the supplied Content-Type HTTP header.Īn internal server error on the MessageBird platform occured.Ī requested action on the object can't be processed.Ī call flow describes the flow of operations (steps) to be executed when handling an incoming call. The requested resource could not be found.Īuthentication is missing from the HTTP request. CodeĪ required parameter is missing in the request. The following error codes have been deprecated in favor of relying on the status codes listed above. Something went wrong on our end, please try again. Request conflict with the current state of the server. The request contains invalid/missing data, or is malformed.Īccess to the requested resource was forbidden. MessageBird uses standard HTTP status codes to indicate success or failure of an API request. POST and PUT requests to the API should contain a JSON-formatted payload of less than 64KB in the request body. You can provide your users with this information to indicate what they can do about the error. Attributes AttributeĪn integer that represents the error type.Ī human-readable description of the error. In case of an error, the body of the response includes a json formatted response that tells you exactly what is wrong. authentication, no balance or a missing or wrong parameter). Ĭodes in the 2xx range indicate that a request was successfully processed and codes in the 4xx range indicate that there was an error that resulted from the information sent (e.g. With each API call, you will need to set request headers including your access key to authenticate yourself. Test API keys have the prefix test_ and live API keys have the prefix live_ You can view and manage your API keys in your MessageBird dashboard MessageBird's Voice Calling API uses API keys to authenticate requests.
