Session object
The API creates a Session object once for each recipient within the code expiry time. You can configure your expiry time while creating applications.
A Session object has these attributes.
session_uuidstring | A 36-character string that uniquely identifies a session detail record. |
app_uuidstring | ID of the application used to trigger the session. |
recipientstring | The destination phone number (in E.164 format) to which the message was sent. |
statusstring | The current status of the session. Allowed values: |
channelstring | The last channel used for the session. |
localestring | This is the language translation in which your session was attempted. This feature is available upon request only. Raise a support ticket and provide the translations you want to use. |
otp_attemptsobject | An object containing details of all the attempts made during a session and the same channel, ID, time, and status. |
chargeobject | An object containing details of all the charges incurred during a session and the same channel, ID, and charge. |
created_astring | UTC time when the session was created. |
updated_astring | UTC time when the session was last updated. |