chat.bsky.convo.send Message Batch
POST {{baseUrl}}/xrpc/chat.bsky.convo.sendMessageBatch
This endpoint is part of the Bluesky Chat (DMs) APIs. Requests usually require authentication, are directed to the user's PDS intance, and proxied to the single central chat service by setting the appropriate service DID (did:web:api.bsky.chat
) in the service proxying header.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Request Body
{"items"=>[{"convoId"=>"<string>", "message"=>{"text"=>"<string>", "facets"=>[{"index"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "features"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, {"index"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "features"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}], "embed"=>{"record"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}}, {"convoId"=>"<string>", "message"=>{"text"=>"<string>", "facets"=>[{"index"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "features"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, {"index"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "features"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}], "embed"=>{"record"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"items":[{"id":"\u003cstring\u003e","rev":"\u003cstring\u003e","text":"\u003cstring\u003e","sender":{"did":"\u003cdid\u003e"},"sentAt":"\u003cdateTime\u003e","facets":[{"index":{"byteStart":"\u003cinteger\u003e","byteEnd":"\u003cinteger\u003e"},"features":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"index":{"byteStart":"\u003cinteger\u003e","byteEnd":"\u003cinteger\u003e"},"features":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"embed":{"record":{"uri":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cid":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"author":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{},"indexedAt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"labels":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"replyCount":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"repostCount":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"likeCount":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"quoteCount":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"embeds":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}},{"id":"\u003cstring\u003e","rev":"\u003cstring\u003e","text":"\u003cstring\u003e","sender":{"did":"\u003cdid\u003e"},"sentAt":"\u003cdateTime\u003e","facets":[{"index":{"byteStart":"\u003cinteger\u003e","byteEnd":"\u003cinteger\u003e"},"features":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"index":{"byteStart":"\u003cinteger\u003e","byteEnd":"\u003cinteger\u003e"},"features":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"embed":{"record":{"uri":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cid":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"author":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{},"indexedAt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"labels":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"replyCount":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"repostCount":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"likeCount":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"quoteCount":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"embeds":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}]}