Devices > Incomings

List

get
/devices/{deviceId}/incomings

Required scope: devices:read

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
deviceIdstringRequired
Query parameters
scopestringOptionalExample: new_sms
pg[sortBy]stringOptional

The value that will be used to sort returned entities by.

pg[offset]integerOptional

The value of entities you want to skip before getting entities you need.

pg[sortDir]string · enumOptional

The sorting order. It accepts the ascending and descending direction specifiers.

Possible values:
pg[limit]integerOptional

Sets the maximum number of results per page in the API call response. For example, pg[limit]=100. The default number varies with different API endpoints.

Responses
200

Successful response

application/json
get
/devices/{deviceId}/incomings
200

Successful response

Delete

delete
/devices/{deviceId}/incomings

"ids" and "all" can no be used together "ids" or "all" has to be set "exceptIds" is possible to use only with "all" It could happen, that some incoming messages are deleted and others not. In this case, the API returns a successful status code, and the response additionally contains an error object with a error description.

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
deviceIdstringRequired
Query parameters
confirmedbooleanOptionalExample: true
Body
idsstring[]Optional
exceptIdsstring[]Optional
allbooleanOptional
Responses
200

Successful response

application/json
delete
/devices/{deviceId}/incomings
200

Successful response

Detail

get
/devices/{deviceId}/incomings/{incomingId}

Required scope: devices:read

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
deviceIdstringRequired
incomingIdstringRequired
Responses
200

Successful response

application/json
get
/devices/{deviceId}/incomings/{incomingId}
200

Successful response

Stats

get
/devices/{deviceId}/incomings/stats

Required scope: devices:read

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
deviceIdstringRequired
Query parameters
scopestringOptionalExample: new_sms
Responses
200

Successful response

application/json
get
/devices/{deviceId}/incomings/stats
200

Successful response

Last updated