Skip to main content

com.atproto.server.createInviteCodes

POST 

/xrpc/com.atproto.server.createInviteCodes

This endpoint is part of the atproto PDS server and account management APIs. Requests often require authentication and are made directly to the user's own PDS instance.

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

Create invite codes.

Request

Body

required

    codeCount integerrequired

    Default value: 1

    useCount integerrequired
    forAccounts did[]

Responses

OK

Schema

    codes

    object[]

    required

  • Array [

  • account stringrequired
    codes string[]required
  • ]

Loading...