Use this method to save the Phone Chat settings used by the performer.
POST
/v1/PhoneChat/SaveSettings
POST
/v1/Groups/PhoneChat/SaveSettings
(See Group manager)
Property | Type | Description |
---|---|---|
OfferDirectChat |
boolean | Required. Indicates this user wishes to participate in the DirectChat scheme. |
DirectChat |
aws:DirectChatSettings | All settings directly related to DirectChat. This can only be and must be provided if OfferDirectChat is true. |
PhoneChatNumber |
string | The phone number provided by the user, which users will be able to call when they have confirmed a Phone Chat booking. If a phone number is not supplied, the user will be required to call the client using the number the client supplies. This contains only numbers with an optional +, and must contain a country code. |
PhoneChatPPM |
decimal | Required. The amount, in Credits, that the user wishes to charge for normal Phone Chat calls, per minute. |
If the authenticated user is the manager of a group, the user can impersonate another member of the group. This allows the manager to perform tasks of other group members without having to authenticate as them.
The request can be build in the same way as the regular request, but targeted towards the Group manager endpoint. Additionally, it has the following extra parameters:
Property | Type | Description |
---|---|---|
UserID |
integer | Required. The ID of a member in the group that will be impersonated for this request. |
Parameters can be passed to this operation using the HTTP POST method with serialized JSON in the request body.
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 |
---|---|---|
OfferDirectChat |
boolean | Indicates this user wishes to participate in the DirectChat scheme. |
DirectChat |
aws:DirectChatSettings | All settings directly related to DirectChat. This will only be provided if OfferDirectChat is true. |
PhoneChatNumber |
string | The phone number provided by the user, which users will be able to call when they have confirmed a Phone Chat booking. If a phone number is not supplied, the user will be required to call the client using the number the client supplies. |
ShowPhoneChatNumber |
boolean | Indicates this user wants their PhoneChatNumber to appear on their profile page and emails. There is a charge for displaying their number. |
PhoneChatPPM |
decimal | The amount, in Credits, that the user wishes to charge for normal Phone Chat calls, per minute. |
The following example returns a result of a users' settings.