Update a person's profile
curl --request PATCH \
--url https://api.getlurk.com/v1/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"profile": {
"email": "ana@example.com",
"name": "Ana Lima",
"handles": {
"x": {
"handle": "ana_lima"
}
},
"locale": "pt-BR"
}
}
'const options = {
method: 'PATCH',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
profile: {
email: 'ana@example.com',
name: 'Ana Lima',
handles: {x: {handle: 'ana_lima'}},
locale: 'pt-BR'
}
})
};
fetch('https://api.getlurk.com/v1/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/users/{id}"
payload = { "profile": {
"email": "ana@example.com",
"name": "Ana Lima",
"handles": { "x": { "handle": "ana_lima" } },
"locale": "pt-BR"
} }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "usr_01m2ayvr9gf8e89t8f5cbx71b0",
"external_id": "ana@example.com",
"created_at": "2026-09-12T14:03:10.000Z",
"last_active_at": "2026-11-04T09:00:00.000Z",
"status": "returning",
"balances": [
{
"unit": "points",
"amount": 169
}
],
"profile": {
"email": "ana@example.com",
"name": "Ana Lima",
"avatar_url": null,
"handles": {
"x": {
"handle": "ana_lima",
"account_id": null
}
},
"locale": "pt-BR",
"updated_at": "2026-10-29T16:20:05.000Z"
},
"blocked_at": null,
"blocked_by": null,
"erased_at": null,
"timezone": "America/Sao_Paulo",
"receipts": 2,
"last_receipt_at": "2026-11-04T09:12:44.000Z"
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}People
Update a person's profile
Sets the profile of an existing person (for a new one, send profile with the event): email, name, picture, handles, language. Left out is kept, null clears. In handles an entry replaces that platform’s, null removes it. profile: null erases all. People
PATCH
/
v1
/
users
/
{id}
Update a person's profile
curl --request PATCH \
--url https://api.getlurk.com/v1/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"profile": {
"email": "ana@example.com",
"name": "Ana Lima",
"handles": {
"x": {
"handle": "ana_lima"
}
},
"locale": "pt-BR"
}
}
'const options = {
method: 'PATCH',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
profile: {
email: 'ana@example.com',
name: 'Ana Lima',
handles: {x: {handle: 'ana_lima'}},
locale: 'pt-BR'
}
})
};
fetch('https://api.getlurk.com/v1/users/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/users/{id}"
payload = { "profile": {
"email": "ana@example.com",
"name": "Ana Lima",
"handles": { "x": { "handle": "ana_lima" } },
"locale": "pt-BR"
} }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "usr_01m2ayvr9gf8e89t8f5cbx71b0",
"external_id": "ana@example.com",
"created_at": "2026-09-12T14:03:10.000Z",
"last_active_at": "2026-11-04T09:00:00.000Z",
"status": "returning",
"balances": [
{
"unit": "points",
"amount": 169
}
],
"profile": {
"email": "ana@example.com",
"name": "Ana Lima",
"avatar_url": null,
"handles": {
"x": {
"handle": "ana_lima",
"account_id": null
}
},
"locale": "pt-BR",
"updated_at": "2026-10-29T16:20:05.000Z"
},
"blocked_at": null,
"blocked_by": null,
"erased_at": null,
"timezone": "America/Sao_Paulo",
"receipts": 2,
"last_receipt_at": "2026-11-04T09:12:44.000Z"
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Authorizations
Headers
Path Parameters
Body
application/json
Response
Update a person's profile