API Responses
Meta-Data
Unless otherwise specified, responses from KORE will have a meta-data {}
Object.
Meta-Data Property Name | Example | Description |
---|---|---|
count | 35 | Total size of the result |
page_size | 10 | How many items per page |
page_number | 2 | Page offset (starting from which page) |
previous_page_url | Previous page URL in the client list. | |
next_page_url | Next page URL in the client list. |
Paging Information
If the response to your API request is long, the API returns a partial result in a single 'page.' You can use the meta-data object to page through the other pages.
Data Formats
Dates & Times
All dates and times are GMT. For example, 12:49 PM EST on Tuesday, May 14th, 2024
, would be 4:49 PM GMT on Tuesday, May 14th, 2024
.
Errors
KORE employs standard HTTP response codes to indicate the success or failure of an API request. Successes are indicated through 2xx
codes, while failures are denoted by 4xx
(client errors) or 5xx
(server errors) codes. In addition to the HTTP response codes, KORE provides an additional layer of detail through KORE's own error codes.
If there is an error, unless otherwise specified, KORE will respond with the following properties:
Property Name | Data Type | Description |
---|---|---|
status | INT | HTTP Status Code |
message | String | A more descriptive message, taken from |
code | INT | (Conditional) An error code to find help for the exception, taken from |
more_info | String | (Conditional) The URL of KORE’s documentation for the error code, taken from |
Example:
View the error dictionary for more details on all of KORE's errors, possible causes, and possible solutions.
Last updated