Create a user

Request

POST /users
curl 'https://businessapi.badges.xyz/users' \
-u E23d1aN95aAtnE3w9QmQyGjBRzu4...
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "user@gmail.com",
}'

Returns

Returns the customer/organization object if the update succeeded. Returns an error if create parameters are invalid.

RESPONSE
{
  "data": {
    "id": "785e64de-2ad2-4ebd-83da-f60c480ee551",
    "email": "user@gmail.com",
    "wallet_address": "0xd10D7A5991B99Ba5F51DcAfdDA780Ed3a3Def20d",
    "claimed_count": 47,
    "organization_id": "cba48375-6d91-4f35-9445-265e8b2107cc",
    "external_id": "1899625817",
    "is_active": true,
    "created_at": "2023-04-30T23:50:17.000Z"
  }
}

Parameters


email string
Email for the object.


organization_id uuid
Organization object id for the object.


external_id string
Custom External id for the object.