Skip to main content
The API returns a response to every call. The response consists of a response code and a response body. The response code indicates whether your call succeeded or failed. The response body contains the data you requested, or an error message. If your request succeeds, the endpoint returns a response code in the 200 range, and a response body with the data you requested or the details of the resources that you created, edited or deleted.
For information about response and error codes, see Response and error codes.
The content and structure of a response body varies depending on the endpoint. You can see a response example and response schema for every endpoint in the API Reference documentation.
The following example shows a response body from the /alerts endpoint. It contains the details of a monitoring alert created using the API.
The response body is composed of the following parts:
  • The id field contains the monitoring alert’s unique identifier.
  • The ruleType field contains the type of alert.
  • The target field contains the MSISDN of the SIM to which the monitoring alert applies.
  • The lowerThreshold field contains the number of bytes for the lower usage threshold at which the alert is triggered.
  • The upperThreshold field contains the number of bytes for the upper usage threshold at which the alert is triggered.
  • The dateCreated field contains the date and time at which the alert was created.