cURL
curl --request POST \ --url http://sandbox.mintlify.com/events/custom \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "eventType": "<string>", "timestamp": "2023-11-07T05:31:56Z", "source": "<string>", "data": {}, "metadata": {} } '
{ "eventId": "<string>", "status": "success", "timestamp": "2023-11-07T05:31:56Z" }
Log custom/unstructured events
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Custom event details
Custom event type identifier
When the event occurred
Source system or application
Custom event payload
Additional event metadata
Custom event logged
Unique identifier for the logged event
Status of the event logging
success
failed
Time when the event was logged