Create Client Profile

POST {{baseUrl}}/client/profiles/?company_id={{companyId}}

Create and update properties about a profile without tracking an associated event. This endpoint is specifically designed to be called from publicly-browseable, client-side environments only. To create profiles from server applications (e.g. custom server-side scripts / applications), please use POST /api/profiles

Rate limits:
Burst: 350/s
Steady: 3500/m

Scopes: Profiles Write

Request Params

KeyDatatypeRequiredDescription
company_idstring(Required)

Request Body

{"data"=>{"type"=>"profile", "attributes"=>{"email"=>"qui est Excepteur pariatur elit", "phone_number"=>"labore occaecat ipsum Lorem", "external_id"=>"Lorem commodo cupidatat", "anonymous_id"=>"in voluptate dolor", "first_name"=>"qui quis in sit nostrud", "last_name"=>"non in occaecat aliqua", "organization"=>"mollit quis Lorem dolor", "title"=>"anim amet aute adipisicing", "image"=>"nulla commodo Excepteur", "location"=>{"address1"=>"mollit proident minim ut", "address2"=>"cupidatat enim", "city"=>"enim pariatur", "country"=>"consectetur proident et", "latitude"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "longitude"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "region"=>"Lorem Duis", "zip"=>"in", "timezone"=>"nost"}}, "meta"=>{"identifiers"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "external_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "email"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "phone_number"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "anonymous_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "_kx"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}}}

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Content-Typestring
Acceptstring