(optional event)
This event is optional and is not related in any way to the events from the App Lifecycle Communication and Alerts section.
Overview
The user.logout
optional event is emitted when a user belonging to an installation of a Talkdesk partner app has logged out.
Subscribing user.logout
To subscribe to the
user.logout
event, the user must submit a request.
Payload Types
Attribute | Description |
---|---|
account_id | Unique identifier for the customer's Talkdesk account |
user_id | Unique identifier for the Talkdesk user |
user_email | Talkdesk user's email |
installation_id | Unique identifier of the partner app's installation in the user's Talkdesk account |
{
"id": "a16521d26f89418dab1402e68c5a4ba7",
"created_at": "2017-08-18T10:29:52.000+00:00",
"api_version": "1",
"type": "user.logout",
"app_id": "8fcf7a3762d94f938e71b3a42618fd14",
"data": {
"account_id": "5e8d60283cc24683a9523319",
"user_id": "573491d5df012e3242001b52",
"user_email": "[email protected]",
"installation_id": "4400ebd85fa04322abf5b64de93dc913"
},
"_links": {
"root": {
"href": "https://api.talkdeskapp.com"
},
"self": {
"href": "https://api.talkdeskapp.com/apps/f918e2623486417791f3b5a18ca746ce/events/3214155a170c4d4aaa344a540ceckrik1"
},
"user": {
"href": "https://api.talkdeskapp.com/users/573491d5df012e3242001b52"
},
"installation": {
"href": "https://api.talkdeskapp.com/apps/8fcf7a3762d94f938e71b3a42618fd14/installations/4400ebd85fa04322abf5b64de93dc913"
}
}
}
The links
section contains:
Attribute | Description |
---|---|
self | URL to retrieve the event content |
user | URL to retrieve details from the user |
root | URL to Talkdesk's API Gateway |
installation | URL to retrieve installation data |