List messages in a magick space
Authorization
BearerAuth AuthorizationBearer <token>
MagickMind API key (mm_...) or user JWT, sent as Authorization: Bearer <token>. /v1/chat/completions accepts an API key only. JWTs (not mm_ keys) may alternatively be passed as a ?token= query parameter.
In: header
Path Parameters
id*string
Query Parameters
cursor?string
limit?integer
order?string
Default
"asc"Value in
- "asc"
- "desc"
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/magickspaces/string/messages?order=asc"{ "data": [ { "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" } ], "paging": { "cursors": { "after": "string", "before": "string" }, "has_more": true, "has_previous": true }}{ "error": { "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string", "request_id": "string", "errors": [ { "field": "string", "message": "string" } ] }}{ "error": { "type": "string", "title": "string", "status": 0, "detail": "string", "instance": "string", "request_id": "string", "errors": [ { "field": "string", "message": "string" } ] }}