Skip to content

Update notification channel availability

Request

Updates available notification channels for the application.

Note: Only for Chat Bots and SMS Aggregators category applications. For marketplace partners only.

Security
BearerPartner
Headers
Acceptstringrequired
Default:"application/vnd.api.v2+json"
Content-Typestringrequired
Default:"application/json"
Authorizationstringrequired

Bearer {partner_token}

Bodyapplication/jsonrequired
salon_idintegerrequired

Location ID

Example:123
application_idintegerrequired

Application ID

Example:456
channel_slugstringrequired

Channel to update availability for

Enum:"sms""whatsapp"
Example:"sms"
is_availablebooleanrequired

Channel availability flag

Example:true
curl -i -X POST \
  https://developer.alteg.io/_mock/en/developers/openapi/marketplace/application/update_channel \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "salon_id": 123,
    "application_id": 456,
    "channel_slug": "sms",
    "is_available": true
  }'

Responses

Channel availability updated successfully

Bodyapplication/json
successboolean
Example:true
dataobject
metaArray of any
Response
{ "success": true, "data": {}, "meta": [] }