user.logout

❗️

This event is optional.

📘

Supported Regions and Base URLs

👍

Access and Registration

Authentication

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

AttributeDescription
account_idUnique identifier for the customer's Talkdesk account
user_idUnique identifier for the Talkdesk user
user_emailTalkdesk user's email
installation_idUnique identifier of the partner app's installation in the user's Talkdesk account

Payload Example

{
  "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:

AttributeDescription
selfURL to retrieve the event content
userURL to retrieve details from the user
rootURL to Talkdesk's API Gateway
installationURL to retrieve installation data

🚧

Troubleshooting

If you have any questions regarding the usage of this API, or if you’re having any technical issues, please open a ticket using this form.