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

https://sandbox.algonomy.com/callback/rest/events/{APP_API_KEY}/eventLogout
			

Example URL

https://sandbox.algonomy.com/callback/rest/events/ABCDILOBZCGHVLZTCNTGJMYGQEARWVZVCUPYVUGNCZPJRSUDAR/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

{
"eventData":{
"eventType":"String",
"logout":"String"
}
}
			

Example Request

{
"eventData":{
"eventType":"eventLogout",
"logout":"2022-02-02 23:15"
}
}
			

Example Response

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