register

Register the user's Worldcoin ID and the token ID and address of the currently linked wallet with the server. Call this API when the user wants to verify the desired wallet

Request

API Request Methods

Method
URL

POST

/register

Request Header

Field
Type
Required
Description

userId

String

required

The identifier for the user in the World Coin system

tokenId

String

required

The identifier for a specific token (chain id)

walletAddress

String

required

The address of the wallet associated with the user

Response

Response

field
Type
Required
Description

code

Number

required

3-digit HTTP status code

body

String

required

Success / Fail

Last updated