Create metadata
You can create items to add to the metadata of a user. Metadata stores additional user information such as their preference settings.
Note: Do not use PII (Personally Identifiable Information) such as user email address, legal name, or phone number for data security and privacy reason.
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 lists the parameters that this action supports.
Required
| Parameter name | Type | Description |
|---|---|---|
user_id | string | Specifies the unique ID of a user. |
Request body
The following table lists the properties of an HTTP request that this action supports.
Required
| Property name | Type | Description |
|---|---|---|
metadata | nested object | Specifies a |
Responses
If successful, this action returns a metadata added to a user in the response body.
Error
In the case of an error, an error object like below is returned. See the error codes section for more details.