Webhook

Set Webhook Endpoint

This API allows you to set a webhook URL where status notifications from Yativo will be sent.

  • Endpoint: {{baseUrl}}/api/v1/business/webhook

  • Method: POST

  • Content-Type: application/json

Request body:

{
  "url": "Your_Webhook_Address"
}

Get Webhook Endpoint

This API allows you to Get the webhook URL you set.

  • Endpoint: {{baseUrl}}/api/v1/business/webhook

  • Method: GET

  • Content-Type: application/json


Update Webhook Endpoint

This API allows you to Get the webhook URL you set.

  • Endpoint: {{baseUrl}}/api/v1/business/webhook

  • Method: PUT

  • Content-Type: application/json


Fetch Logs

This endpoint allows you retrieve all your logs.

  • Endpoint: {{baseUrl}}/api/v1/business/logs/all

  • Method: GET

  • Content-Type: application/json

To view a single log send a GET request with the log id:

  • Endpoint: {{baseUrl}}/api/v1/business/logs/show/{{log_id}}

  • Method: GET

  • Content-Type: application/json


Fetch Events

This endpoint allows you retrieve all your events.

  • Endpoint: {{baseUrl}}/api/v1/business/events/all

  • Method: GET

  • Content-Type: application/json

To view a single log send a GET request with the evet id:

  • Endpoint: {{baseUrl}}/api/v1/business/events/show/{{event_id}}

  • Method: GET

  • Content-Type: application/json