Skip to main content
POST
/
users
Create a user
curl --request POST \
  --url https://production.runalloy.com/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-version: <x-api-version>' \
  --data '{
  "fullName": "<string>",
  "username": "<string>"
}'
"{\n  \"userId\": \"675987329f2bda83f0dff233\"\n}"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2025-09
required

API version

Body

application/json
username
string
required

The username to be associated with the user. To easily identify a customer, we recommend using a friendly username such as an email for example. The username must be unique (this acts as an identifier to reference and lookup a given merchant on your platform).

fullName
string

The name of the user you want to create. Typically a full name.

Response

200

userId
string
Example:

"xyz123abc098754"

I