Developer Portal

Create ProfilePOST

Create a new client profile. Create one profile per client. A client profile can hold multiple trading accounts. Required: email (valid and unique) and password (min 8 characters). The password is write-only — it is stored hashed and never returned in the response.

View as Markdown
POST
/profiles

Authorization

Authorization<token>

Bearer access token issued by the admin login flow.

In: header

Request Body

application/jsonRequired

The client profile

idstring

Server-assigned on create; leave empty when creating a profile.

emailstring

Required. Must be a valid, unique email address; used as the client login.

firstNamestring
lastNamestring
ipAddressstring
languagestring
addressstring
zipCodestring
citystring
statestring
countrystring
phonestring
companystring
metaDatastring
birthDatestring
Format: "int64"
timezoneIANA timezone, e.g. "Europe/London"; "" = UTC
passwordstring

Required on create, min 8 chars. Write-only: stored hashed and never returned in any response.

curl -X POST "https://example.com/profiles" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "ipAddress": "string",
    "language": "string",
    "address": "string",
    "zipCode": "string",
    "city": "string",
    "state": "string",
    "country": "string",
    "phone": "string",
    "company": "string",
    "metaData": "string",
    "birthDate": "string",
    "timezone": "string",
    "password": "string"
  }'

A successful response.

{
  "id": "string",
  "email": "string",
  "firstName": "string",
  "lastName": "string",
  "ipAddress": "string",
  "language": "string",
  "address": "string",
  "zipCode": "string",
  "city": "string",
  "state": "string",
  "country": "string",
  "phone": "string",
  "company": "string",
  "metaData": "string",
  "birthDate": "string",
  "timezone": "string",
  "password": "string"
}