Users
Creates a new user and associates them with the authenticated partner. If a user with the provided email already exists but is not associated with the partner, the existing user will be associated with the partner instead of creating a new user.
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the User endpoints:
- user:create - Create new users and associate them with your partner account
- user:read - View users associated with your partner account
- user:update - Modify user information for users associated with your partner account
- user:delete - Disassociate users from your partner account
User's twitter username (optional)
twitter_handleUser's blockchain wallet address (optional)
0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0bUser created or associated successfully
Invalid request data
Authentication failed
User already associated with partner
Server error
Retrieves a specific user by their ID (user must be associated with the authenticated partner)
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the User endpoints:
- user:create - Create new users and associate them with your partner account
- user:read - View users associated with your partner account
- user:update - Modify user information for users associated with your partner account
- user:delete - Disassociate users from your partner account
ID of the user to operate on
User retrieved successfully
Authentication failed
User not found
Server error
Updates information for a specific user by their ID. The user must be associated with the authenticated partner. At least one field must be provided for update.
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the User endpoints:
- user:create - Create new users and associate them with your partner account
- user:read - View users associated with your partner account
- user:update - Modify user information for users associated with your partner account
- user:delete - Disassociate users from your partner account
ID of the user to operate on
User's updated twitter username
new_twitter_handleUser's updated blockchain wallet address
0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0bUser updated successfully
Invalid request data
Authentication failed
User not found
Email already in use
Server error
Removes the association between a user and the authenticated partner. This does not delete the user from the system, only removes the association.
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the User endpoints:
- user:create - Create new users and associate them with your partner account
- user:read - View users associated with your partner account
- user:update - Modify user information for users associated with your partner account
- user:delete - Disassociate users from your partner account
ID of the user to operate on
User disassociated successfully
Authentication failed
Association not found
Server error
Disconnects a wallet from a specific user by setting their walletAddress to null. The user must be associated with the authenticated partner and must have a wallet connected.
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the User endpoints:
- user:create - Create new users and associate them with your partner account
- user:read - View users associated with your partner account
- user:update - Modify user information for users associated with your partner account
- user:delete - Disassociate users from your partner account
ID of the user to disconnect wallet from
Wallet disconnected successfully
No wallet connected
Authentication failed
User not found
Server error
Retrieves a specific user by their email address. The user must exist and be associated with the authenticated partner.
API keys are provided when a partner account is created and can be regenerated if needed.
To authenticate requests, include your API key in the request headers using the Bearer token format:
Authorization: Bearer your-api-key
Required Permissions
The following permissions are required for the User endpoints:
- user:create - Create new users and associate them with your partner account
- user:read - View users associated with your partner account
- user:update - Modify user information for users associated with your partner account
- user:delete - Disassociate users from your partner account
Email of the user to retrieve
User retrieved successfully
Authentication failed
User not found
Server error
Last updated
Was this helpful?

