chat.bsky.convo.getConvoForMembers

Get or create a 1-1 conversation for the given members. Always returns the same direct (non-group) conversation. To create a group conversation, use createGroup.

Details · query
Kindquery
Authorityconvo.bsky.chat
Indexed
cid bafyreicheufh7jkrstr6hgpggylildyh3k5tihbh5747dumqe5nabp24fi

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get or create a 1-1 conversation for the given members. Always returns the same direct (non-group) conversation. To create a group conversation, use createGroup.",
      "errors": [
        {
          "name": "AccountSuspended"
        },
        {
          "name": "BlockedActor"
        },
        {
          "name": "BlockedSubject"
        },
        {
          "name": "MessagesDisabled"
        },
        {
          "name": "NotFollowedBySender"
        },
        {
          "name": "RecipientNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "convo": {
              "ref": "chat.bsky.convo.defs#convoView",
              "type": "ref"
            }
          },
          "required": [
            "convo"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "members": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 10,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "members"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "chat.bsky.convo.getConvoForMembers",
  "lexicon": 1
}