Developer Portal
Leads

Get lead activities

This endpoint returns all existing activites for a given lead ID.

GET
/v1.1/leads/{lead_id}/activities

Path Parameters

lead_id*integer

Impel Lead ID for which details are to be retrieved or updated.

Header Parameters

partner-id*string

This parameter uniquely identifies an Impel partner and will be used for API authentication and authorization.

x-api-key*string

An API Key issued by Impel that will be used for API authentication and authorization.

dealer-id*string

The ID assigned to the dealership by Impel during onboarding.

Response Body

application/json

curl -X GET "https://example.com/v1.1/leads/0/activities" \  -H "partner-id: string" \  -H "x-api-key: string" \  -H "dealer-id: my-test-dealer"
[  {    "activity_type": "note",    "activity_due_ts": "2023-09-22T14:00:00Z",    "activity_requested_ts": "2023-09-22T12:00:00Z",    "notes": "Customer requested a follow-up call.",    "contact_method": "email",    "crm_activity_id": "12345",    "crm_status": "Completed",    "activity_id": 123,    "db_creation_date": "2023-10-16T20:44:12.027184+00:00"  }]