Users

Creates a new user with the given wallet_address and either a phone or an email address.

post

Invoke this endpoint to add a new user to your loyalty program.

Authorizations
Body
wallet_addressstringRequired

the user's wallet_address

phonestringOptional

the user's phone (must be provided if email is blank)

emailstringOptional

the user's email (must be provided if phone is blank)

Responses
200
User was created successfully
application/json
post
POST /partner-api/users HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 55

"wallet_address='text'&phone='text'&email='text'"
{
  "user": {
    "id": "text"
  }
}