Skip to main content
POST
account.update

Authorizations

Authorization
string
header
required

A Lath API key: lath_live_… or lath_test_… on a server, lath_live_pk… or lath_test_pk… in a browser.

Headers

Idempotency-Key
string

Replays the stored response for the same key and input; refuses different input.

Body

application/json
name
string
Required string length: 1 - 120
country
string
Required string length: 2
heardFrom
enum<string>

How the account heard about Lath: search, ai_assistant, social, referral, content, community, event, or other.

Available options:
search,
ai_assistant,
social,
referral,
content,
community,
event,
other
heardFromDetail
string | null

Optional detail in the customer's own words — which podcast, which friend. Needs a heardFrom, given here or already stored. Null or empty clears it.

Maximum string length: 200

Response

{ activityId, result }. activityId is empty for reads.

activityId
string
required

The activity this call created, or empty for a read.

result
object
required
Last modified on September 23, 2026