Leads

Get the leads that were upserted by a job.

Changed on

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

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

Request

Query parameters

job_idstring required

The job id returned by an upsert endpoint.

Example:9f1c8b2e-...

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

    • breaking

      added the new required query request parameter job_id

    • breaking

      removed the request body

    • breaking

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

    • info

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

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status