POST /{environment}/session-times

Create a session time and update the last_action_date of the ambassador

Path parameters

  • environment string Required

    The environment

    Values are widget or platform.

Responses

  • 200 application/json

    Return a success message

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

POST /{environment}/session-times
curl \
 --request POST 'https://domain.tld/api/v2/widget/session-times' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "message": "Session time stored successfully"
}