List webhook endpoints
curl --request GET \
--url https://api.melso.ai/v1/partner/webhook-endpoints \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.melso.ai/v1/partner/webhook-endpoints"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.melso.ai/v1/partner/webhook-endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"status": "enabled",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}Webhooks
List webhook endpoints
Lists your firm’s webhook endpoints.
GET
/
partner
/
webhook-endpoints
List webhook endpoints
curl --request GET \
--url https://api.melso.ai/v1/partner/webhook-endpoints \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.melso.ai/v1/partner/webhook-endpoints"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.melso.ai/v1/partner/webhook-endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"status": "enabled",
"created_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}
]
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}Early access. Your firm’s owner or an admin creates partner keys in Settings › Developers. See Partner API.
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
webhooks:read.Authorizations
A partner key of your firm, mk_live_…, which reaches every company of
the firm. Each key carries the permissions chosen when it was created.
Keep it on your servers. See Authentication.