Create Context

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
typestringRequired
Type of context.
datamap from strings to anyRequired
Data of context.
is_eventbooleanRequired
Whether the context is an event.
metadatamap from strings to anyOptional
Metadata of context.

Response

This endpoint returns an object.
context_idstring
ID of context.
typestring
Type of context.
datamap from strings to any
Data of context.
is_eventboolean
Whether the context is an event.
updated_atdatetime
Time at which context was last updated.
created_atdatetime
Time at which context was created.
metadatamap from strings to any or null
Metadata of context.

Errors