PeopleCreate person
People

Create person

Create a new person profile.

curl -X POST "https://api.flameup.ai/api/v1/people" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "userId": "example_string",
  "email": "user@example.com",
  "phone": "+1-555-0123",
  "traits": {
    "first_name": "John Doe",
    "last_name": "John Doe",
    "phone": "+1-555-0123",
    "avatar_url": "example_string",
    "timezone": "example_string",
    "locale": "example_string"
  }
}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "workspace_id": "example_string",
  "external_id": "example_string",
  "email": "user@example.com",
  "phone": "+1-555-0123",
  "first_name": "John Doe",
  "last_name": "John Doe",
  "avatar_url": "example_string",
  "timezone": "example_string",
  "locale": "example_string",
  "status": "active",
  "attributes": {},
  "created_at": "2024-12-25T10:00:00Z",
  "updated_at": "2024-12-25T10:00:00Z",
  "first_seen_at": "2024-12-25T10:00:00Z",
  "last_seen_at": "2024-12-25T10:00:00Z"
}
POST
/people
POST
Bearer Token
Bearer Tokenstring
Required

Your Flameup API key (passed as Bearer token)

Your Flameup API key (passed as Bearer token)
Content-Typestring
Required

The media type of the request body

Options: application/json
userIdstring
Required

Your unique identifier for this user

emailstring
Format: email
phonestring

User's phone number

traitsobject

User attributes

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Your Flameup API key (passed as Bearer token)

Body

application/json
userIdstring
Required

Your unique identifier for this user

phonestring

User's phone number

traitsobject

User attributes

Responses