Logo
Ecartapi.com Public API Documentation

Get native webhooks

GET https://api.ecartapi.com/api/v2/webhooks?ecommerce=true

Use v1 o v2 API with the ecommerce param equals to true to get native webhooks.

 

Body PARAM

Key Datatype Required Description 
ecommerce
boolean



HEADERS

Key Datatype Required Description 
Authorization
string
null




RESPONSES

status OK

{ "success": true, "webhooks": { "subscriptionId": "1ae98303-cb1d-475e-bf7e-dda31b47631d", "destinationId": "a7c3c93c-8301-46cf-b21d-ac4062942d8e", "payloadVersion": "1.0" } }



Curl
curl -X GET 'https://api.ecartapi.com/api/v2/webhooks?ecommerce=true?ecommerce=true' -H 'Authorization: access_token' -H ': '

ENDPOINTS