List events
curl --request GET \
--url https://api.melso.ai/v1/partner/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.melso.ai/v1/partner/events"
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/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"type": "incorporation.updated",
"created_at": "2023-11-07T05:31:56Z",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"data": {
"object": {}
}
}
],
"has_more": true,
"next_cursor": "<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>"
}Events
List events
Lists the events of your firm’s companies from the last 30 days, newest first: the same objects webhooks deliver.
GET
/
partner
/
events
List events
curl --request GET \
--url https://api.melso.ai/v1/partner/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.melso.ai/v1/partner/events"
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/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"type": "incorporation.updated",
"created_at": "2023-11-07T05:31:56Z",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"data": {
"object": {}
}
}
],
"has_more": true,
"next_cursor": "<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.