curl --request GET \
--url https://api.byblend.com/api/v1/notifications \
--header 'Authorization: Bearer <token>'
[
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2023-11-07T05:31:56Z",
"is_active": true,
"type": "webhook",
"user_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"subscriptions": [
{
"name": "Order Created",
"description": "Triggered when an order is created",
"event_code": "order.created"
}
]
}
]
Retrieve current endpoints and their subscriptions.
curl --request GET \
--url https://api.byblend.com/api/v1/notifications \
--header 'Authorization: Bearer <token>'
[
{
"id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"created_at": "2023-11-07T05:31:56Z",
"is_active": true,
"type": "webhook",
"user_id": "0227d1e5-ba9a-42b5-8fe2-38882aa65708",
"subscriptions": [
{
"name": "Order Created",
"description": "Triggered when an order is created",
"event_code": "order.created"
}
]
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response with list of notification events
The response is of type object[]
.