cURL
curl --request POST \ --url https://{host}/api/v1/users/lookup \ --header 'API-key: <api-key>' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": 2, "phone": "<string>", "ssn": "<string>" } '
{ "id": "<string>", "email": "<string>", "internal_id": "<string>", "name": "<string>", "phone": "<string>", "address": "<string>", "postal_code": "<string>", "city": "<string>", "main_work": "true", "nationality": "<string>", "note": "<string>", "bank_account_number": "<string>", "bank_iban_number": "<string>", "bank_bic_number": "<string>", "tax_percent": "<string>", "tax_type": "<string>", "tax_start": "<string>", "tax_table": "<string>", "tax_free_card": "<string>", "onboarding": "<string>", "created_at": "<string>" }
Provide exactly one of user_id, phone, or ssn. Response matches GET /users/{id}.
user_id
phone
ssn
/users/{id}
Sanctum personal access token (access_tokens / partner API settings).
access_tokens
UUID API key stored for the partner user.
x >= 1
64
true
false