GET
/
integrations
/
data
/
crm
/
leads
/
{id}
curl --request GET \
  --url https://api.carbon.ai/integrations/data/crm/leads/{id} \
  --header 'authorization: <api-key>'
{
  "id": "<string>",
  "owner": {
    "id": "<string>"
  },
  "source": "<string>",
  "status": "<string>",
  "title": "<string>",
  "company": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "description": "<string>",
  "addresses": [
    {
      "street_1": "<string>",
      "street_2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "postal_code": "<string>",
      "country": "<string>",
      "address_type": "<string>"
    }
  ],
  "phone_numbers": [
    {
      "phone_number": "<string>",
      "phone_number_type": "<string>"
    }
  ],
  "emails": [
    {
      "email": "<string>",
      "email_type": "<string>"
    }
  ],
  "converted_at": "<string>",
  "converted_account": {
    "id": "<string>"
  },
  "converted_contact": {
    "id": "<string>"
  },
  "last_activity_at": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "is_deleted": true,
  "tasks": [
    {
      "id": "<string>",
      "owner": {
        "id": "<string>"
      },
      "subject": "<string>",
      "status": "<string>",
      "priority": "<string>",
      "description": "<string>",
      "account": {
        "id": "<string>"
      },
      "contact": {
        "id": "<string>"
      },
      "created_at": "<string>",
      "updated_at": "<string>",
      "is_deleted": true,
      "remote_data": {}
    }
  ],
  "events": [
    {
      "id": "<string>",
      "owner": {
        "id": "<string>"
      },
      "subject": "<string>",
      "location": "<string>",
      "is_all_day": true,
      "start_date": "<string>",
      "end_date": "<string>",
      "description": "<string>",
      "account": {
        "id": "<string>"
      },
      "contact": {
        "id": "<string>"
      },
      "created_at": "<string>",
      "updated_at": "<string>",
      "is_deleted": true,
      "remote_data": {}
    }
  ],
  "remote_data": {}
}

Authorizations

authorization
string
header
required

token <token>, corresponds to temporary access tokens.

Path Parameters

id
string
required

Query Parameters

data_source_id
integer
required
include_remote_data
boolean
default:
false
includes
enum<string>[]
Available options:
Tasks,
Events

Response

200
application/json
Successful Response
id
string
required
owner
object
required
source
string | null
required
status
string | null
required
title
string | null
required
company
string | null
required
first_name
string | null
required
last_name
string | null
required
description
string | null
required
addresses
object[]
required
phone_numbers
object[]
required
emails
object[]
required
converted_at
string | null
required
converted_account
object | null
required
converted_contact
object | null
required
last_activity_at
string | null
required
created_at
string
required
updated_at
string
required
is_deleted
boolean
required
remote_data
object | null
required
tasks
object[] | null
events
object[] | null