Admin

Create invite codes

Changed on

Create invite codes. If address is provided, issues codes to that account. If empty, creates a system access code.

post/admin/invite/codes

Request

Request body

addressstring

Target account address. If empty, creates a system access code (owned by zero address).

countinteger

Number of codes to create (1-1000, default 1). Mutually exclusive with 'code'.

descriptionstring
codestring

Specific code to create. Mutually exclusive with 'count'.

created_bystring

Name of the admin operator who created the codes (e.g. "Avi", "Sam"). Optional.

Response

A successful response.

codesstring[]
countinteger

Changes