The Phone Object
The Phone object represents an organisation phone on Periskope.
Attributes
The unique identifier of the organization that owns this WhatsApp phone.
The WhatsApp ID of the phone (format: {phone_number}@c.us
).
The ISO 8601 formatted timestamp when the phone was first created.
The ISO 8601 formatted timestamp when the phone was last updated.
The current connection state of the WhatsApp account. Possible values are CONNECTED
, DISCONNECTED
.
A unique identifier for this phone instance.
The QR code string for WhatsApp Web authentication. Null when already connected.
The URL of the WhatsApp profile image for this phone.
The display name configured for this WhatsApp account.
The ISO 8601 formatted timestamp when the phone first connected to WhatsApp.
Indicates if the phone is fully configured and ready to send/receive messages.
A mapping of label IDs to boolean values indicating which labels are assigned to this phone.
An array of label names assigned to this phone.
Indicates if the phone session on the server is currently open. If false, then please use the restart phone API to start the session