Channels API
APIs related to Channel management.
Channel
This section describes APIs related to Channel management.
1. Create Channel
Create a new channel with properties such as name, icon, colors, and welcome message.
Endpoint:
POST https://app-gateway.dev.imbrace.co/journeys/v1/channelsHeaders:
x-temp-token: Your tokenContent-Type:application/json
Body:
{ "business_unit_id": "bu_imbrace_testing", "name": "chih test", "icon_url": "https://imbrace-data.s3.ap-east-1.amazonaws.com/static/imbrace+icon_v1.png", "primary_color": "#000000", "secondary_color": "#FFFFFF", "description": "", "welcome_message": "insert welcome message here", "fallback_url": "https://imbrace-uat.s3.ap-east-1.amazonaws.com/static/iMBRACE-Dev.html" }Example:
curl --location 'https://app-gateway.dev.imbrace.co/journeys/v1/channels' \ --header 'x-temp-token: api_2d599e6d-2694-4389-b585-1d5a2a5ec8c1' \ --header 'Content-Type: application/json' \ --data '{ "business_unit_id": "bu_imbrace_testing", "name": "chih test", "icon_url": "https://imbrace-data.s3.ap-east-1.amazonaws.com/static/imbrace+icon_v1.png", "primary_color": "#000000", "secondary_color": "#FFFFFF", "description": "", "welcome_message": "insert welcome message here", "fallback_url": "https://imbrace-uat.s3.ap-east-1.amazonaws.com/static/iMBRACE-Dev.html" }'
2. Update Channel
Update the information of an existing channel by its ID.
Endpoint:
PUT https://app-gateway.dev.imbrace.co/journeys/v1/channels/{channel_id}Headers:
x-temp-token: Your tokenContent-Type:application/json
Body:
Example:
3. Delete Channel
Delete a specific channel by its ID.
Endpoint:
DELETE https://app-gateway.dev.imbrace.co/journeys/v1/channels/{channel_id}Headers:
x-temp-token: Your token
Example:
Last updated