MagickMind

Send a message to a magick space (internal, HMAC-signed)

POST
/v1/internal/magickspaces/{id}/messages

Authorization

HmacAuth
X-Bifrost-Signature<token>

Hex-encoded HMAC-SHA256 of <timestamp>.<raw body> using the shared ingest secret. The X-Bifrost-Timestamp header (unix seconds) is also required.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/internal/magickspaces/string/messages" \  -H "Content-Type: application/json" \  -d '{    "account_id": "string",    "content": "string",    "sender_id": "string"  }'
{  "content": "string",  "create_at": "string",  "id": "string",  "magickspace_id": "string",  "message_type": "string",  "reply_to_message_id": "string",  "sent_by_user_id": "string",  "status": "string",  "update_at": "string"}