Developer Portal
Activities

Get activity

Retrieve a specific activity by ID

GET
/v1.1/activities/{activity_id}

Path Parameters

activity_id*integer

The ID of the activity in the data layer. *** Ask for a PDF document, which explains the guidelines for developing the webhook that will receive this activity ID. Once you receive this notification on the webhook, you can call this endpoint.

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/activities/0" \  -H "partner-id: string" \  -H "x-api-key: string" \  -H "dealer-id: my-test-dealer"
{  "activity_type": "note",  "activity_due_ts": "2024-02-02T14:00:00-05:00",  "activity_requested_ts": "2024-02-02T12:00:00-05:00",  "notes": "Customer requested a follow-up call.",  "contact_method": "email",  "crm_activity_id": "85155350-57e0-4961-9875-cd49026f29a5",  "crm_status": "Completed",  "dealer_id": "my-test-dealer",  "lead_id": 35124,  "crm_lead_id": "string",  "crm_consumer_id": "string",  "identified_events": [    "Action: schedule appointment"  ]}