Last updated 3 days ago
curl -X PATCH "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/channels/9673b291-2f71-43c1-a07c-6f2ff0926818/conversational" \ -H "Content-Type: application/json" \ -H "Authorization: AccessKey abcd" \ -d '{ "status": "active" }'
{ "status": "active" }
Configure a channel for conversations
The workspace ID
The channel ID
The channel's conversations configuration
const response = await fetch('https://api.bird.com/workspaces/{workspaceId}/channels/{channelId}/conversational', { method: 'PATCH', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "status": "active" }), }); const data = await response.json();
{ "status": "active", "createdAt": "2024-12-03T15:26:45.546Z", "updatedAt": "2024-12-03T15:26:45.546Z" }