Skip to main content

com.atproto.server.createInviteCode

POST 

/xrpc/com.atproto.server.createInviteCode

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 an invite code.

Request

Body

required

    useCount integerrequired
    forAccount did

Responses

OK

Schema

    code stringrequired
Loading...