leads retrieve
GET {{baseUrl}}/leads/:id
Returns a Lead
object with the given id
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"id":"urn:uuid:f2919a38-0101-844b-034b-e493facbb0ff","remote_id":"19202938","owner":"0358cbc6-2040-430a-848e-aafacbadf3aa","lead_source":"API Blogger","title":"Co-Founder","company":"Merge API","first_name":"Gil","last_name":"Feig","addresses":[{"street_1":"50 Bowling Green Dr","street_2":"Golden Gate Park","city":"San Francisco","state":"CA","postal_code":"94122","country":"TM","address_type":"SHIPPING"},{"street_1":"50 Bowling Green Dr","street_2":"Golden Gate Park","city":"San Francisco","state":"CA","postal_code":"94122","country":"AM","address_type":"SHIPPING"}],"email_addresses":[{"email_address":"hello@merge.dev","email_address_type":"Work"}],"phone_numbers":[{"phone_number":"+16789932455","phone_number_type":"Mobile"}],"remote_updated_at":"2022-02-10T00:00:00Z","remote_created_at":"2021-11-10T00:00:00Z","converted_date":"2022-03-10T00:00:00Z","converted_contact":"urn:uuid:b37b0247-1f50-4595-da70-17deecda59b1","converted_account":"9c9de072-29cf-48e3-9578-1ca5b145b40e"}