Send a test event
curl --request POST \
--url https://api.melso.ai/v1/partner/webhook-endpoints/{endpoint_id}/test \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.melso.ai/v1/partner/webhook-endpoints/{endpoint_id}/test"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.melso.ai/v1/partner/webhook-endpoints/{endpoint_id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"event_id": "evt_0a1b2c3d",
"status": "succeeded",
"response_code": 200,
"latency_ms": 142
}{
"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>"
}{
"error": "<string>",
"code": "<string>",
"request_id": "<string>",
"field": "<string>",
"permission": "<string>"
}Webhooks
Send a test event
Sends a signed test.ping event to the endpoint at once and answers with what your server replied.
POST
/
partner
/
webhook-endpoints
/
{endpoint_id}
/
test
Send a test event
curl --request POST \
--url https://api.melso.ai/v1/partner/webhook-endpoints/{endpoint_id}/test \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.melso.ai/v1/partner/webhook-endpoints/{endpoint_id}/test"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.melso.ai/v1/partner/webhook-endpoints/{endpoint_id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"event_id": "evt_0a1b2c3d",
"status": "succeeded",
"response_code": 200,
"latency_ms": 142
}{
"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>"
}{
"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:write.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.