Customer Logout: eventLogout
The Customer Logout event API records data when a customer logs out of the system. It logs the time and date of the logout or session expiry.
API Endpoint and Method
URL
Copy
https://rcdp-us-east-1.algonomy.com/callback/rest/events/{APP_API_KEY}/eventLogout
Example URL
Copy
https://rcdp-us-east-1.algonomy.com/callback/rest/events/BESQILOBZCGHVLZTCNTGJMYGQEARWVZVCUPYVUGNCZPJRSUDAR/eventLogout
HTTP Method
POST
Parameters
Parameter |
Type | Required or Optional |
Description |
---|---|---|---|
eventType | String | Optional |
Specifies the type of event. Example: "eventLogout" |
logout |
String | Optional |
Specifies the date and time of the logout in UTC format. Example: "2022-02-02 23:15" |
Request Body Schema
Copy
{
"eventData":{
"eventType":"String",
"logout":"String"
}
}
Example Request
Copy
{
"eventData":{
"eventType":"eventLogout",
"logout":"2022-02-02 23:15"
}
}
Example Response
Copy
{
"status": "success",
"message": "Customer logout event captured successfully."
}
HTTP Response Codes
Response Code |
Description |
---|---|
202 Accepted | The request has been received and validated, but processing is asynchronous and not yet complete. |