Support channels
Create support channel
Changed onOpens a support channel between an account's team and a customer. Returns the existing channel if that customer already has one.
Required permissions:
- support_chat:create
post/support_channels
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/support_channels
- Auth: HTTP bearer
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"user_id": "user_xxxxxxxxxxxxx"
}Response
A successful response
Example response
{
"custom_name": "Project Alpha Team",
"customer_user": {
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
},
"last_message": {
"attachments": [
{
"content_type": "image/jpeg",
"filename": "document.pdf"
}
],
"content": "Hey, are you available for a **quick call**?",
"created_at": "2023-12-01T05:00:00.401Z"
},
"last_message_at": "2023-12-01T05:00:00.401Z",
"resolved_at": "2023-12-01T05:00:00.401Z"
}Changes
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- info
added the required property
to the response with the status
- info