Skip to main content
POST
Add an alias to a person

Authorizations

Authorization
string
header
required

A project key (Developers → API keys). Keep it on your server, not in an app.

Headers

traceparent
string

W3C Trace Context; joins your trace to ours

Idempotency-Key
string
required

A retry with the same key and body returns the first response

Required string length: 1 - 255

Path Parameters

id
string
required

The person: a usr_… ID or your own identifier for them. They must exist

Body

application/json
alias
string
required

Another identifier they were known by, such as the anonymous visitor ID they had before signing in. Lurk need not have heard from it yet

Required string length: 1 - 256

Response

Add an alias to a person

user
object
required

The person whose history reads the alias

alias
string
required

The other identifier, as you sent it

person
object | null
required

The person Lurk knows by that identifier, who keeps what they hold. Null until Lurk hears from them

created_at
string<date-time>
required

When the alias was made