Devices > Outgoing

List

get

Required scope: devices:read

Authorizations
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
GET /api/v2/devices/{deviceId}/outgoings HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "outgoings": [
    {
      "id": "ce2ab2eca9874a8b874f5deb6e22d475",
      "scope": "new_sms",
      "size": 1,
      "created": "2021-01-12T15:08:36.732Z"
    }
  ],
  "pg": {
    "sortBy": "created",
    "limit": 10000,
    "sortDir": "asc",
    "offset": 0
  }
}

Delete

delete

"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.

Authorizations
Path parameters
deviceIdstringRequired
Query parameters
confirmedbooleanOptionalExample: true
Body
idsstring[]Optional
exceptIdsstring[]Optional
allbooleanOptional
Responses
200
Successful response
application/json
delete
DELETE /api/v2/devices/{deviceId}/outgoings HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "ids": [],
  "exceptIds": [],
  "all": true
}
200

Successful response

{
  "outgoings": [
    "4ff11b6d24e24fa9add17d11a8143578",
    "167193ab06d34b879346c69aebc8f5c1",
    "d1efa5318a034d36ad7cbeac543573cf",
    "29d9a7410dff494ab739036f6c332335"
  ]
}

Detail

get

Required scope: devices:read

Authorizations
Path parameters
deviceIdstringRequired
outgoingIdstringRequired
Responses
200
Successful response
application/json
get
GET /api/v2/devices/{deviceId}/outgoings/{outgoingId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "id": 5,
  "scope": "text",
  "size": 5,
  "created": "2004-10-19T08:23:54.000Z",
  "data": "text"
}