This API operation retrieves a list of existing DirectChat PINs from the user.
GET
/v1/DirectChat/GetAllPINs
Property | Type | Description |
---|---|---|
This operation does not accept any parameters. |
This endpoint is using the HTTP GET method.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.
This endpoint requires the following scope:
Scope |
---|
account_phonechat_bookings |
Property | Type | Description |
---|---|---|
User |
aws:DirectChatPINUser | The user to which the PIN is made for. This contains some basic and and other relevant pieces of information for the user. |
PIN |
string | The PIN associated with the user. This is the PIN number you will have to provide when calling our DirectChat number. |
CreatedDate |
datetime | The date and time at which this PIN has been associated with the user. |
NumberOfCalls |
integer | The amount of calls made using this PIN. |
LastCallDate |
datetime | The date and time at which this PIN has most recently been used. |
InProgress |
boolean | Indicates whether a call using this PIN is currently on-going. |
The following example returns multiple associated PINs.