POST api/payCallRegister/setWebHook

Request Information

URI Parameters

None.

Body Parameters

modelPayCallWebHook
NameDescriptionTypeAdditional information
token

string

None.

url_webhook

string

None.

Request Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "url_webhook": "sample string 2"
}

text/xml

Sample:
<modelPayCallWebHook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/whatsAppServer.Models.PayCall">
  <token>sample string 1</token>
  <url_webhook>sample string 2</url_webhook>
</modelPayCallWebHook>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>