Send a programmatic message to an assistant. Returns a message_id that can be polled via GET /messages/ for the response.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The ID of the assistant to send the message to.
Optional tags for routing and context (e.g. [‘source:slack’, ‘channel:#general’]).
File attachments previously uploaded via POST /messages/attachments.
curl --request POST \
--url 'https://api.unify.ai/v0/messages' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{
"assistant_id": 42,
"message": "Add milk to my shopping list."
}'