import requests
url = "http://localhost:3000/v1/webhook/"
payload = ["status_changed"]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.get(url, json=payload, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"subscribed_events": [
"status_changed"
],
"created_date": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Retrieve a list of webhooks.
import requests
url = "http://localhost:3000/v1/webhook/"
payload = ["status_changed"]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.get(url, json=payload, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"url": "<string>",
"subscribed_events": [
"status_changed"
],
"created_date": "2023-11-07T05:31:56Z"
}
],
"has_more": true,
"first_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1 <= x <= 100asc, desc status_changed Successful Response
Mostrar atributos secundarios
The unique identifier for the webhook
The URL that the webhook will call to send the events specified in the subscribed_events field
The events that the webhook will send to the URL. Specify the different events you want the webhook to send to the URL
status_changed The datetime when the webhook was created