PeopleUpdate person
People

Update person

Update a person's attributes.

curl -X PUT "https://api.flameup.ai/api/v1/workspaces/example_string/people/123e4567-e89b-12d3-a456-426614174000" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "traits": {}
}'
{
  "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"
}
PUT
/workspaces/{workspaceId}/people/{personId}
PUT
Security Scheme
Bearer Token
Bearer Tokenstring
Required

Your Flameup API key (passed as Bearer token)

Your Flameup API key (passed as Bearer token)
path
personIdstring
Required

Person ID (UUID)

Format: uuid
Content-Typestring
Required

The media type of the request body

Options: application/json
traitsobject

Attributes to update (merged with existing)

Request Preview
Response

Response will appear here after sending the request

Authentication

BearerAuth
header
Authorizationstring
Required

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

Path Parameters

personIdstring
Required

Person ID (UUID)

Body

application/json
traitsobject

Attributes to update (merged with existing)

Responses

idstring
workspace_idstring
external_idstring
emailstring
phonestring
first_namestring
last_namestring
avatar_urlstring
timezonestring
localestring
statusstring
attributesobject
created_atstring
updated_atstring
first_seen_atstring
last_seen_atstring
Was this page helpful?
Built with Documentation.AI

Last updated today