Request the anonymization of a conversation.
Dixa API (beta)
Download OpenAPI description
Languages
Servers
Mock server
https://docs.dixa.io/_mock/openapi/dixa-api/beta
https://dev.dixa.io
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/anonymize
- https://dev.dixa.io/beta/conversations/{conversationId}/anonymize
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/anonymize?force=false' \
-H 'Authorization: YOUR_API_KEY_HERE'The conversation's anonymization request status
data.​entityTypeConversationAnonymizationType (object) or MessageAnonymizationType (object) or UnknownAnonymizationType (object) or UserAnonymizationType (object)(DeprecatedAnonymizationType)Deprecatedrequired
Replaced by _type field
One of:
DeprecatedReplaced by _type field
object(ConversationAnonymizationType)
Response
application/json
{ "data": { "id": "87bac308-e49f-4134-84cc-96b868f1e1e4", "entityType": "ConversationAnonymizationType", "_type": "Conversation", "initiatedAt": "2021-12-01T12:46:36.581Z[GMT]", "targetEntityId": "10749", "requestedBy": "b165fdaa-51d6-44b0-bfcd-5f431d623fa7" } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/messages/{messageId}/anonymize
- https://dev.dixa.io/beta/conversations/{conversationId}/messages/{messageId}/anonymize
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/messages/{messageId}/anonymize' \
-H 'Authorization: YOUR_API_KEY_HERE'The message's anonymization request status
data.​entityTypeConversationAnonymizationType (object) or MessageAnonymizationType (object) or UnknownAnonymizationType (object) or UserAnonymizationType (object)(DeprecatedAnonymizationType)Deprecatedrequired
Replaced by _type field
One of:
DeprecatedReplaced by _type field
object(ConversationAnonymizationType)
Response
application/json
{ "data": { "id": "b165fdaa-51d6-44b0-bfcd-5f431d623fa7", "entityType": "MessageAnonymizationType", "_type": "Message", "initiatedAt": "2021-12-01T12:46:36.581Z[GMT]", "targetEntityId": "10749_1b9adc49-62f7-4056-a9c0-c18c1f25afdb", "requestedBy": "4c7af391-b7fd-4560-9d82-b3464eef8776" } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/close
- https://dev.dixa.io/beta/conversations/{conversationId}/close
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/close' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"userId": "5a556159-9c21-4f3e-a44f-d323deb80d16"
}'