Register a user as an operator to channels by custom channel types
You can register a user as an operator to channels with specified custom channel types using this API.
HTTP request
Note: If you are using the in-app channel in Delight AI agent, the endpoint for your API request should start with
https://api-{application_id}.svc.delight.ai/v3instead ofhttps://api-{application_id}.sendbird.com/v3. For more details, refer to our Delight AI agent guide.
Parameters
The following table shows a parameter that this action supports.
Required
| Parameter name | Type | Description |
|---|---|---|
user_id | string | Specifies the unique ID of the user. |
Request body
The following table shows a property of the HTTP request that this action supports.
Required
| Property name | Type | Description |
|---|---|---|
channel_custom_types[] | array of objects | Specifies an array of one or more custom channel types in order to register the user as an operator to channels with those channel types. |
Responses
If successful, this action returns an empty response body.
Error
In the case of an error, an error object like below is returned. See the error codes section for more details.