Get lead

GET {{baseUrl}}/lead/leads/:id?raw=false

Get lead

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes
fieldsstringThe 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: fields=name,email,addresses.city<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
cursornull
filter[name]null
filter[first_name]null
filter[last_name]null
filter[email]null
filter[status]null
filter[monetary_amount]null
sort[by]null
sort[direction]null

HEADERS

KeyDatatypeRequiredDescription
x-apideck-consumer-idstring(Required) ID of the consumer which you want to get or push data from
x-apideck-app-idstring(Required) The ID of your Unify application
x-apideck-service-idstringProvide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Acceptstring

RESPONSES

status: OK

{&quot;status_code&quot;:200,&quot;status&quot;:&quot;OK&quot;,&quot;service&quot;:&quot;zoho-crm&quot;,&quot;resource&quot;:&quot;companies&quot;,&quot;operation&quot;:&quot;one&quot;,&quot;data&quot;:{&quot;name&quot;:&quot;Elon Musk&quot;,&quot;company_name&quot;:&quot;Spacex&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;owner_id&quot;:&quot;54321&quot;,&quot;owner_name&quot;:&quot;John Doe&quot;,&quot;company_id&quot;:&quot;2&quot;,&quot;lead_id&quot;:&quot;2&quot;,&quot;lead_source&quot;:&quot;Cold Call&quot;,&quot;first_name&quot;:&quot;Elon&quot;,&quot;last_name&quot;:&quot;Musk&quot;,&quot;description&quot;:&quot;A thinker&quot;,&quot;prefix&quot;:&quot;Sir&quot;,&quot;title&quot;:&quot;CEO&quot;,&quot;language&quot;:&quot;EN&quot;,&quot;status&quot;:&quot;New&quot;,&quot;monetary_amount&quot;:75000,&quot;currency&quot;:&quot;USD&quot;,&quot;fax&quot;:&quot;+12129876543&quot;,&quot;websites&quot;:[{&quot;url&quot;:&quot;http://example.com&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;type&quot;:&quot;primary&quot;},{&quot;url&quot;:&quot;http://example.com&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;type&quot;:&quot;primary&quot;}],&quot;addresses&quot;:[{&quot;id&quot;:&quot;123&quot;,&quot;type&quot;:&quot;primary&quot;,&quot;string&quot;:&quot;25 Spring Street, Blackburn, VIC 3130&quot;,&quot;name&quot;:&quot;HQ US&quot;,&quot;line1&quot;:&quot;Main street&quot;,&quot;line2&quot;:&quot;apt #&quot;,&quot;line3&quot;:&quot;Suite #&quot;,&quot;line4&quot;:&quot;delivery instructions&quot;,&quot;street_number&quot;:&quot;25&quot;,&quot;city&quot;:&quot;San Francisco&quot;,&quot;state&quot;:&quot;CA&quot;,&quot;postal_code&quot;:&quot;94104&quot;,&quot;country&quot;:&quot;US&quot;,&quot;latitude&quot;:&quot;40.759211&quot;,&quot;longitude&quot;:&quot;-73.984638&quot;,&quot;county&quot;:&quot;Santa Clara&quot;,&quot;contact_name&quot;:&quot;Elon Musk&quot;,&quot;salutation&quot;:&quot;Mr&quot;,&quot;phone_number&quot;:&quot;111-111-1111&quot;,&quot;fax&quot;:&quot;122-111-1111&quot;,&quot;email&quot;:&quot;elon@musk.com&quot;,&quot;website&quot;:&quot;https://elonmusk.com&quot;,&quot;notes&quot;:&quot;Address notes or delivery instructions.&quot;,&quot;row_version&quot;:&quot;1-12345&quot;},{&quot;id&quot;:&quot;123&quot;,&quot;type&quot;:&quot;primary&quot;,&quot;string&quot;:&quot;25 Spring Street, Blackburn, VIC 3130&quot;,&quot;name&quot;:&quot;HQ US&quot;,&quot;line1&quot;:&quot;Main street&quot;,&quot;line2&quot;:&quot;apt #&quot;,&quot;line3&quot;:&quot;Suite #&quot;,&quot;line4&quot;:&quot;delivery instructions&quot;,&quot;street_number&quot;:&quot;25&quot;,&quot;city&quot;:&quot;San Francisco&quot;,&quot;state&quot;:&quot;CA&quot;,&quot;postal_code&quot;:&quot;94104&quot;,&quot;country&quot;:&quot;US&quot;,&quot;latitude&quot;:&quot;40.759211&quot;,&quot;longitude&quot;:&quot;-73.984638&quot;,&quot;county&quot;:&quot;Santa Clara&quot;,&quot;contact_name&quot;:&quot;Elon Musk&quot;,&quot;salutation&quot;:&quot;Mr&quot;,&quot;phone_number&quot;:&quot;111-111-1111&quot;,&quot;fax&quot;:&quot;122-111-1111&quot;,&quot;email&quot;:&quot;elon@musk.com&quot;,&quot;website&quot;:&quot;https://elonmusk.com&quot;,&quot;notes&quot;:&quot;Address notes or delivery instructions.&quot;,&quot;row_version&quot;:&quot;1-12345&quot;}],&quot;social_links&quot;:[{&quot;url&quot;:&quot;https://www.twitter.com/apideck&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;type&quot;:&quot;twitter&quot;},{&quot;url&quot;:&quot;https://www.twitter.com/apideck&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;type&quot;:&quot;twitter&quot;}],&quot;phone_numbers&quot;:[{&quot;number&quot;:&quot;111-111-1111&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;country_code&quot;:&quot;1&quot;,&quot;area_code&quot;:&quot;323&quot;,&quot;extension&quot;:&quot;105&quot;,&quot;type&quot;:&quot;primary&quot;},{&quot;number&quot;:&quot;111-111-1111&quot;,&quot;id&quot;:&quot;12345&quot;,&quot;country_code&quot;:&quot;1&quot;,&quot;area_code&quot;:&quot;323&quot;,&quot;extension&quot;:&quot;105&quot;,&quot;type&quot;:&quot;primary&quot;}],&quot;emails&quot;:[{&quot;email&quot;:&quot;elon@musk.com&quot;,&quot;id&quot;:&quot;123&quot;,&quot;type&quot;:&quot;primary&quot;},{&quot;email&quot;:&quot;elon@musk.com&quot;,&quot;id&quot;:&quot;123&quot;,&quot;type&quot;:&quot;primary&quot;}],&quot;custom_fields&quot;:[{&quot;id&quot;:&quot;2389328923893298&quot;,&quot;name&quot;:&quot;employee_level&quot;,&quot;description&quot;:&quot;Employee Level&quot;,&quot;value&quot;:&quot;Uses Salesforce and Marketo&quot;},{&quot;id&quot;:&quot;2389328923893298&quot;,&quot;name&quot;:&quot;employee_level&quot;,&quot;description&quot;:&quot;Employee Level&quot;,&quot;value&quot;:&quot;Uses Salesforce and Marketo&quot;}],&quot;tags&quot;:[&quot;New&quot;],&quot;custom_mappings&quot;:{},&quot;updated_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;,&quot;created_at&quot;:&quot;2020-09-30T07:43:32.000Z&quot;}}