Event APIs

[HOOK] Receive event from TRACT

Endpoint

type
POST
required
true
provider
ECT (via register webhook)
caller
TRACT
url
registered_webhooks['category']['subcategory']
encoding
application/json


Request

parameter type required description
conversation_number str true Current conversation number
user_id str true Associated user ID
category str true Event category
subcategory str true Event subcategory
metadata str false Event metadata


Response

parameter type required description
error str false Error message if applicable


[API] Send event from ECT to TRACT

Endpoint

type
POST
required
true
provider
TRACT
caller
ECT
url
/tract/events/send
encoding
application/json


Request

parameter type required description
user_id str true Associated user ID
category str true Event category
subcategory str true Event subcategory
metadata str false Event metadata


Response

parameter type required description
error str false Error message if applicable

Can’t find what you’re looking for? Email us at support@haptik.ai.