⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
/

Endpoints

POST

Check URL

Check if URL works and get example of the request

  • https://api.getblock.io/external/webhook/check_url

Request

Headers

  • x-api-key string - GetBlock API key to access GetBlock Tracker API.

Body

Object

  • url string - your target URL to receive webhook notifications.

Response

Response is successful [200]

String (OK)

Response is not successful [400, 500]

Object

  • description string - description of what went wrong

  • status_code int - status code of the response.

Examples

Request

curl --location --request POST 'https://api.getblock.io/external/webhook/check_url' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '
{
  "url": "https://webhook.site/"
}'

Response

"OK"