Skip to main content
POST
/
api
/
v1
/
agents
/
{uuid}
/
intents
/
{intentUuid}
/
event
/
test
Test the intent's app action
curl --request POST \
  --url https://{subdomain}.mihu.ai/api/v1/agents/{uuid}/intents/{intentUuid}/event/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "live": true,
  "config_override": {
    "module": "Leads",
    "search_field": "Phone",
    "search_value": "+905435506677"
  }
}
'
{
  "success": true,
  "message": "Test completed",
  "data": {
    "success": true,
    "dry_run": false,
    "data": {
      "Phone": "+905435506677",
      "Full_Name": "Acme Lead"
    },
    "message": "OK"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mihu.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required
intentUuid
string<uuid>
required

Body

application/json

The body is of type any.

Response

Test result