sessions

Pop Latest Message

Remove and return the latest message from a session.

Supports three access levels based on session's agent/team:

  • PUBLIC: No authentication required
  • PASSWORD_PROTECTED: X-Access-Password header required
  • PRIVATE: User authentication required
delete/api/v1/sessions/{session_id}/messages/latest

Request

  • Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gnosari.com/api/v1/sessions/{session_id}/messages/latest
  • Auth: one of:
    • HTTP bearer
    • API key in header X-AUTH-TOKEN

Path parameters

session_idstring required

Headers

X-Access-Passwordstring nullable

Response

Successful Response

message_datastring required
idinteger required
session_idstring required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.