cURL
curl --request POST \ --url https://api.togai.com/entitled \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "event": { "schemaName": "<string>", "timestamp": "2022-06-15T07:30:35.123", "accountId": 1, "attributes": [ { "name": "message", "value": 100, "unit": "characters" } ], "dimensions": {}, "id": "c0b1306d-f506-43a6-856b-69221efaee6b" } } '
{ "success": true }
This API let’s you to ingest an event if a user is entitled to a feature
Documentation IndexFetch the complete documentation index at: https://docs.togai.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.togai.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Payload for ingesting events
Contents of the event
Show child attributes
Success response
true