get
https://{host}/v3/targetGroups/channels
This API is used to bring all the channels informations of target groups.
Example request
curl --location 'https://eu.api.capillarytech.com/v3/targetGroups/channels' \
--header 'Authorization: Basic bWFkaHVfcmMjU2YQ==' \
--header 'Cookie: _cfuvid=H_OUDqsSJh7q7aUlkRgBjVIMRBFDNp2ic0PI6VAnYzw-1762857476978-0.0.1.1-604800000'Example response
{
"data": [
{
"id": 1,
"name": "SMS"
},
{
"id": 2,
"name": "EMAIL"
},
{
"id": 3,
"name": "MOBILE PUSH"
}
],
"errors": null,
"warnings": null
}Response parameter
| Parameter | Type | Description |
|---|---|---|
| data | Array | List of objects containing the main data payload. |
| data[].id | Integer | Unique identifier for the record. |
| data[].name | String | Name of the communication channel (e.g., "SMS", "EMAIL", "MOBILE PUSH"). |
| errors | Null | Placeholder for error messages (null indicates no errors). |
| warnings | Null | Placeholder for warning messages (null indicates no warnings). |
