Webhooks
The Webhooks feature allows you to configure endpoints on your server to receive real-time event notifications from our system. By setting up a webhook, you can automate workflows, track updates, or respond to specific events programmatically.
GET List of webhooks
DELETE Delete your webhook
Retrieves your configured webhooks list
Authorizations
Header parameters
x-api-keystringRequired
Your credential's unique identifier key
x-pvt-timezonestringOptional
Your timezone
Responses
200
List of your configured webhooks
application/json
401
Unauthorized access due to invalid credentials, invalid or expired JWT token
application/json
403
Your key, your credentials or your JWT token are invalid, or you don't have access for this resource
application/json
500
An unexpected error has been raised durig this process
application/json
get
GET /business/v1/settings/webhooks HTTP/1.1
Host: api.mio.id
Authorization: Bearer JWT
x-api-key: text
Accept: */*
[
{
"type": "ACTIVITY_EVENT",
"url": "https://www.mycompanyhost.com/my-webhook",
"secret": "my-32-bytes-sized-secret",
"authorization": {
"type": "BASIC_AUTH",
"value": {
"username": "my-user-name",
"password": "my-secure-password"
}
},
"headers": {
"Content-Type": "application/json"
}
}
]
Creates a new or updates an existent webhook for integration
Authorizations
Header parameters
x-api-keystringRequired
Your credential's unique identifier key
x-pvt-timezonestringOptional
Your timezone
Body
typestring · enumRequiredExample:
ACTIVITY_EVENT
Possible values: urlstringRequiredExample:
https://www.mycompanyhost.com/my-webhook
secretstringOptionalExample:
my-32-bytes-sized-secret
headersobjectOptionalExample:
{"Content-Type":"application/json"}
Responses
204
Your webhook has been created or updated on your configurations successfully
400
Your request metadata or your payload contains incorrect values
application/json
401
Unauthorized access due to invalid credentials, invalid or expired JWT token
application/json
403
Your key, your credentials or your JWT token are invalid, or you don't have access for this resource
application/json
500
An unexpected error has been raised durig this process
application/json
put
PUT /business/v1/settings/webhooks HTTP/1.1
Host: api.mio.id
Authorization: Bearer JWT
x-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 262
{
"type": "ACTIVITY_EVENT",
"url": "https://www.mycompanyhost.com/my-webhook",
"secret": "my-32-bytes-sized-secret",
"authorization": {
"type": "BASIC_AUTH",
"value": {
"username": "my-user-name",
"password": "my-secure-password"
}
},
"headers": {
"Content-Type": "application/json"
}
}
No content
Removes from your webhook list the item for the specified ID
Authorizations
Path parameters
idstringRequiredExample:
my-webhook-id
Header parameters
x-api-keystringRequired
Your credential's unique identifier key
x-pvt-timezonestringOptional
Your timezone
Responses
204
Your webhook has been removed from your configurations successfully
400
Your request metadata or your payload contains incorrect values
application/json
401
Unauthorized access due to invalid credentials, invalid or expired JWT token
application/json
403
Your key, your credentials or your JWT token are invalid, or you don't have access for this resource
application/json
404
No resource found for specified identifier
application/json
500
An unexpected error has been raised durig this process
application/json
delete
DELETE /business/v1/settings/webhooks/{id} HTTP/1.1
Host: api.mio.id
Authorization: Bearer JWT
x-api-key: text
Accept: */*
No content
Last updated