Skip to main content

Get Lead

GET 

https://embedded.runalloy.com/2024-03/one/crm/leads/:leadId

Get lead based on id

Request

Path Parameters

    leadId stringrequired

    The item id of the lead record

Query Parameters

    credentialId stringrequired

    The ID of the credential.

Header Parameters

    Authorization stringrequired

    Default value: bearer YOUR_API_KEY

Responses

200

{
"lead": {
"remoteId": "1234567890123",
"leadOwner": "alex",
"leadSource": "Trade Show",
"leadTitle": "Marketing Manager",
"company": "Bright Future Tech",
"firstName": "Jordan",
"lastName": "Smith",
"addresses": [
{
"country": "United States",
"street1": "123 Sunny Lane",
"state": "CA",
"city": "San Francisco",
"addressType": "main"
}
],
"emailAddresses": [
{
"emailAddressType": "main",
"emailAddress": "jordan.smith@fakemail.com"
}
],
"phoneNumbers": [
{
"phoneNumberType": "main",
"phoneNumber": "123-456-7890"
}
],
"id": "a1b2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
curl -L 'https://embedded.runalloy.com/2024-03/one/crm/leads/:leadId' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://embedded.runalloy.com/2024-03/one
Parameters
— pathrequired
— queryrequired
— headerrequired
ResponseClear

Click the Send API Request button above and see the response here!