Developer Portal
Leads

Get lead activities

This endpoint returns all existing activities for a given lead ID

GET
/v2/leads/{lead_id}/activities

Path Parameters

lead_id*string

Query Parameters

activity_type?string

Value in

  • "appointment"
  • "phone_call_task"
  • "note"
  • "outbound_call"

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.

client-key*string

The unique IDP Identifier assigned to the client by Impel during onboarding.

Response Body

application/json

curl -X GET "https://example.com/v2/leads/string/activities" \  -H "partner-id: string" \  -H "x-api-key: string" \  -H "client-key: string"
[  {    "lead_id": 0,    "activity_type": "appointment",    "crm_activity_id": "string",    "activity_requested_ts": "2023-09-22T12:00:00Z",    "notes": "Customer requested a follow-up call.",    "activity_due_ts": "2023-09-22T14:00:00Z",    "contact_method": "email",    "crm_status": "string",    "source_system": "string"  }]