Lead journey
const url = 'https://api.nomissedconversions.com/v1/leads/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/journey?limit=10&kind=activity&activity_kind=call';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.nomissedconversions.com/v1/leads/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/journey?limit=10&kind=activity&activity_kind=call' \ --header 'Authorization: Bearer <token>'Lists a lead’s activities, linked website page views, and lead events ordered by occurred_at descending. When multiple entries share the same occurred_at timestamp, lead events appear first (most recently saved first), followed by activities and then website page views (each ordered by id descending). Filters are applied before pagination. Both activity_kind and updated_since require kind=activity.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Return records with updated_at on or after this timestamp (inclusive).
Return records with updated_at on or after this timestamp (inclusive).
Responses
Section titled “Responses”A page of journey entries with the business’s currency and timezone.
object
object
Whether NMC is currently tracking new calls, texts, forms, and forwarded emails for this business. Tracking pauses when the account’s plan isn’t running or its balance drops to $0 or below.
object
When tracking last switched between active and paused.
object
object
Outcome of the call, matching the NMC dashboard. A call’s status can update after hangup (for example, changing from answered to a voicemail status once transcription finishes). answered: answered and recorded. answered_unrecorded: answered with call recording turned off (so voicemail can’t be distinguished from a person). didnt_connect: busy, unanswered, or failed to forward. Counts as Missed in NMC reports. voicemail_no_message: reached voicemail without leaving a message. Counts as Missed in NMC reports. voicemail_message: reached voicemail and left a message. Counts as Missed in NMC reports. unknown: call ended without a final carrier status. pending: call is still ringing or in progress.
object
object
object
Google Ads {device} ValueTrack value from the ad click (for example, m for mobile).
Google Ads {matchtype} ValueTrack value from the ad click (for example, e for exact match).
Google Ads {network} ValueTrack value from the ad click (for example, g for Google Search).
object
object
object
Example
{ "business": { "currency_code": "USD", "tracking": { "state": "active" } }, "data": [ { "activity": { "call_status": "answered", "kind": "call" }, "kind": "activity" } ]}default
Section titled “default”Error response. Status codes: 400 for malformed requests or rejected parameters, 401 for a missing or unrecognized API key, 403 when the account is on hold, the plan isn’t running (which blocks all requests, including reads), or the resource is read-only, 404 when the resource isn’t found, 405 for an unsupported HTTP method, 409 when tracking is paused or the request conflicts with existing input, lead state, business currency, or the webhook endpoint limit, 413 when the body exceeds 64 KiB, 429 when rate limited, 500 for an unexpected server error, and 503 when the service is temporarily unavailable. Retry 500 and 503 errors with backoff (and 429 after Retry-After) by resending the same request, keeping the same submission ID for form submissions. Include X-Request-ID when contacting support.
The HTTP status code gives the general error category. Show message to the user, and never branch on its text. Include X-Request-ID when contacting support so NMC can match the response to server logs.
object
Invalid_request: fix the request body or path; when NMC rejected a specific field value, message names that field, while malformed or schema-violating requests return a general contract error. invalid_parameter: remove or fix the query parameter named in param. invalid_page: omit page and restart pagination from the first page with the same filters and limit. invalid_api_key: pass an active business API key in Authorization. account_on_hold: the account is on hold; contact support. plan_inactive: the account’s plan isn’t running; all requests fail until an admin starts the plan in billing. anonymous_contact_read_only: anonymous contacts are read-only and can’t be edited. tracking_paused: tracking is paused for this business, so new form submissions aren’t accepted. not_found: the requested resource doesn’t exist in this business. method_not_allowed: use an HTTP method listed in the Allow header. form_submission_conflict: this submission id was already used with different fields; generate a new UUID for new submissions. contact_identity_conflict: another contact in this business already uses that phone number or email address. phone_has_activities: a contact’s phone number can’t be changed once calls or texts have been recorded for it. recording_processing: the call recording is still processing; retry shortly. currency_changed: the business currency changed; reload /business and resend with the updated currency_code and value_cents. lead_status_conflict: change the lead’s status first as described in message. page_view_conflict: website_page_view_id belongs to a different visitor or page. webhook_endpoint_limit: the business reached its webhook endpoint limit; delete an unused endpoint or contact support. google_ads_conversions_confirmation_required: inspect unremovable_google_ads_conversions and resend with confirm_google_ads_conversions_cannot_be_removed set to true. body_too_large: keep the request body at or below 64 KiB. rate_limited: wait for Retry-After seconds before retrying. internal_error: unexpected server error; retry with exponential backoff. temporarily_unavailable: service temporarily unavailable; retry with exponential backoff.
object
Example
{ "code": "invalid_request", "unremovable_google_ads_conversions": [ { "conversion_source": "website" } ]}