The user to create
string The email address to be associated with the user. Must not be associated with any other users. | |
name | string |
phone_number | string (PhoneNumberString) A phone number. Always in E.164 format. See https://support.twilio.com/hc/en-us/articles/223183008-Formatting-International-Phone-Numbers. |
The user was created
{- "name": "string",
- "email": "string",
- "phone_number": "string"
}
{- "data": {
- "id": "string",
- "email": "string",
- "name": "string",
- "roles": [
- "string"
], - "avatar_url": "string",
- "phone_number": "string"
}, - "paging": {
- "cursors": {
- "after": "string",
- "before": "string"
}, - "next_page": "string",
- "prev_page": "string"
}
}
Anonymization request
{- "data": {
- "id": "string",
- "target_entity_id": "string",
- "entity_type": "user",
- "initiated_at": "string",
- "requested_by": "string",
- "processed_at": "string"
}
}
A JSON array of conversations
{- "data": [
- {
- "id": 0,
- "created_at": "2015-11-30T00:00:00:000Z",
- "requester_id": "string",
- "channel": "widget_chat",
- "direction": "outbound",
- "queued_at": "2015-11-30T00:00:00:000Z",
- "queue_id": "string",
- "status": "open",
- "status_updated_at": "2015-11-30T00:00:00:000Z",
- "attributes": { },
- "assigned_to": "string",
- "assigned_at": "2015-11-30T00:00:00:000Z"
}
], - "paging": {
- "cursors": {
- "after": "string",
- "before": "string"
}, - "next_page": "string",
- "prev_page": "string"
}
}
A JSON array of users
{- "data": [
- {
- "id": "string",
- "email": "string",
- "name": "string",
- "roles": [
- "string"
], - "avatar_url": "string",
- "phone_number": "string"
}
], - "paging": {
- "cursors": {
- "after": "string",
- "before": "string"
}, - "next_page": "string",
- "prev_page": "string"
}
}
Entity info to schedule anonymization
Scheduled anonymization
{- "entity_id": "string",
- "entity_type": "user",
- "force_anonymization": true
}
{- "data": {
- "id": "string",
- "target_entity_id": "string",
- "entity_type": "user",
- "initiated_at": "string",
- "requested_by": "string",
- "processed_at": "string"
}
}