Users

users

Methods

Create User ->
post/v1/users

Create a new user with linked accounts. Optionally pre-generate embedded wallets for the user.

Create Custom Metadata -> { custom_metadata }
post/v1/users/{user_id}/custom_metadata

Adds custom metadata to a user by user ID.

Delete User ->
delete/v1/users/{user_id}

Delete a user by user ID.

Get User ->
get/v1/users/{user_id}

Get a user by user ID.

path Parameters
user_id: string

User ID

Response fields
Request example
200Example
Lookup User By Email Address ->
post/v1/users/email/address

Looks up a user by their email address.

Lookup User By Custom Auth ID ->
post/v1/users/custom_auth/id

Looks up a user by their custom auth ID.

Lookup User By Wallet Address ->
post/v1/users/wallet/address

Looks up a user by their wallet address.

Response fields
Request example
200Example
Gets Users -> Cursor<>
get/v1/users

Get all users in your app.

Get User ->
get/v1/users/{user_id}

Get a user by user ID.

Domain types

User = { id, created_at, has_accepted_terms, 4 more... }