Leads

Get the leads that were upserted by a job.

This endpoint is used to get the leads that were upserted by a job.

get/api/external/v1/leads/get-leads

Query parameters

job_idstring required

The job id returned by an upsert endpoint.

Example:9f1c8b2e-...

The job id returned by an upsert endpoint.

Response

object[] required

Example response

[
  {
    "lead_id": 56789,
    "genpage_url": "https://myworkspace.genpa.ge/aws-john",
    "name": "John Doe",
    "email": "john@aws.com",
    "company_name": "AWS"
  }
]

Changes

Changed in 1 of the 3 revisions of this API.33

  • dd3f47f72f7a33See the full diff
    • added the new required query request parameter job_id

      new-required-request-parameter

    • removed the request body

      request-body-removed

    • removed the media type text/plain for the response with the status 200

      response-media-type-removed

    • added the media type application/json for the response with the status 200

      response-media-type-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog