Skip to main content

com.atproto.admin.getInviteCodes

GET 

/xrpc/com.atproto.admin.getInviteCodes

This endpoint is part of the atproto PDS management APIs. Requests usually require admin authentication and are made directly to the PDS instance.

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

Get an admin view of invite codes.

Request

Query Parameters

    sort string

    Possible values: [recent, usage]

    Default value: recent

    limit integer

    Possible values: >= 1 and <= 500

    Default value: 100

    cursor string

Responses

OK

Schema

    cursor string

    codes

    object[]

    required

  • Array [

  • code stringrequired
    available integerrequired
    disabled booleanrequired
    forAccount stringrequired
    createdBy stringrequired
    createdAt date-timerequired

    uses

    object[]

    required

  • Array [

  • usedBy didrequired
    usedAt date-timerequired
  • ]

  • ]

Loading...