Skip to main content
POST
/
api
/
v1
/
users
curl -X POST "https://api.openwearables.com/api/v1/users" \
  -H "X-API-Key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "John",
    "last_name": "Doe",
    "email": "[email protected]",
    "external_user_id": "ext_user_12345"
  }'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "created_at": "2024-01-15T10:30:00Z",
  "first_name": "John",
  "last_name": "Doe",
  "email": "[email protected]",
  "external_user_id": "ext_user_12345"
}

Authentication

This endpoint requires API key authentication. Include your API key in the request header:
X-API-Key: your_api_key_here

Request Body

first_name
string
User’s first name. Maximum 100 characters.
last_name
string
User’s last name. Maximum 100 characters.
email
string
User’s email address. Must be a valid email format.
external_user_id
string
External system identifier for the user. Useful for linking users to your own system.

Response

Returns the created user object with server-generated fields.
id
string
Unique UUID identifier generated by the server
created_at
string
ISO 8601 timestamp of when the user was created
first_name
string
User’s first name
last_name
string
User’s last name
email
string
User’s email address
external_user_id
string
External system identifier for the user
curl -X POST "https://api.openwearables.com/api/v1/users" \
  -H "X-API-Key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "John",
    "last_name": "Doe",
    "email": "[email protected]",
    "external_user_id": "ext_user_12345"
  }'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "created_at": "2024-01-15T10:30:00Z",
  "first_name": "John",
  "last_name": "Doe",
  "email": "[email protected]",
  "external_user_id": "ext_user_12345"
}

Build docs developers (and LLMs) love