Home Documentation Services FAQ Contact details
Sign in

Webhook viewing


GET /webhook

The resource allows to get the webhook installed .

URL resource:


Output data

Output data structure is shown below.

    "status": "{enum}",
    "webhook": "{string}"

Parameters description:

Parameter Value
status Response status.

Possible values:

  • ERROR — an error has occurred.

  • OK — the request has been completed successfully.
webhook Webhook installed or its absence.

Errors description

The server returns an HTTP response code and a brief error description in the event of error.


Query example:

curl -i -H 'Content-Type: application/json' -X GET 'https://app.api-messenger.com/webhook'

Response example:

HTTP/1.1 200 OK
Content-Type: application/json;charset=utf-8

{ "status": "OK", "webhook": "https://api-messenger.com" }