Register a GDPR request
Registers a specific type of GDPR request to comply with the GDPR's requirements.
Note: Currently, Sendbird only provides options to delete and access user data. Features to address the right to restriction of processing and right to object will be available soon.
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.
Request body
The following table lists the properties of an HTTP request that this action supports.
Properties
| Optional | Type | Description |
|---|---|---|
action | string | Determines the type of a GDPR request. Acceptable values are access and delete. If set to access, Sendbird server generates a downloadable zip file containing the data of a user specified in the |
user_id | string | Specifies the unique ID of a user. This property should be specified when the value of the |
user_ids[] | array of strings | Specifies an array of IDs of users. Up to 100 users can be processed at once. This property should be specified when the value of the |
channel_delete_option | string | Determines the scope of group channels to delete in addition to deleting users specified in the |
Response
If successful, this action returns information about the GDPR request in the response body.
In the case of an error, an error object is returned. A detailed list of error codes is available here.