Skip to main content
POST
/
create-account
cURL
curl --request POST \
  --url https://api.example.com/create-account \
  --header 'Content-Type: application/json' \
  --data '
{
  "authenticator_addresses": [
    "<string>"
  ],
  "authenticator_pubkeys": [
    "<string>"
  ],
  "offchain_signer_commitment": "<string>",
  "recovery_address": "<string>"
}
'
{
  "kind": "create_account",
  "request_id": "<string>",
  "status": {
    "state": "queued"
  }
}

Body

application/json

The request to create a new World ID account.

authenticator_addresses
string<hex>[]
required

The addresses of the authenticators.

authenticator_pubkeys
string<decimal>[]
required

The compressed public keys of the authenticators.

offchain_signer_commitment
string<decimal>
required

The offchain signer commitment.

recovery_address
string<hex>
required

The recovery address.

Response

TODO

kind
enum<string>
required
Available options:
create_account,
update_authenticator,
insert_authenticator,
remove_authenticator,
recover_account
request_id
string
required
status
object
required