> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pilotstatus.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a lead (Lead Ads)

> Returns one lead of the key's number by its Pilot Status `id` (the `id` field of `GET /v1/leads`, not Meta's `leadgenId`). Same scope, permission and privacy rules as the list: a redacted lead has `fullName`, `email` and `phone` null and `fields` empty, and the response carries `notice: "PII_RELAY_ONLY"` on a RELAY_ONLY number.

A lead of another number, of another account, or one that was erased answers `404 LEAD_NOT_FOUND` — the same answer as an id that never existed.



## OpenAPI

````yaml openapi.json GET /v1/leads/{id}
openapi: 3.1.0
info:
  title: Pilot Status API
  version: 1.0.0
  license:
    name: Pilot Status Terms of Service
    url: https://pilotstatus.com.br/terms
  description: >-
    Public REST API for Pilot Status. Authenticate with the `x-api-key: ps_...`
    header (or `x-api-key-id`). Base URL: https://pilotstatus.com.br
servers:
  - url: https://pilotstatus.com.br
security:
  - apiKey: []
  - apiKeyId: []
paths:
  /v1/leads/{id}:
    get:
      tags:
        - Conversations
      summary: Get a Meta Lead Ads lead
      description: >-
        Returns one lead of the key's number by its Pilot Status `id` (the `id`
        field of `GET /v1/leads`, not Meta's `leadgenId`). Same scope,
        permission and privacy rules as the list: a redacted lead has
        `fullName`, `email` and `phone` null and `fields` empty, and the
        response carries `notice: "PII_RELAY_ONLY"` on a RELAY_ONLY number.


        A lead of another number, of another account, or one that was erased
        answers `404 LEAD_NOT_FOUND` — the same answer as an id that never
        existed.
      operationId: get_lead
      parameters:
        - name: id
          in: path
          required: true
          description: Pilot Status lead id (the `id` from `GET /v1/leads`).
          schema:
            type: string
          example: cmg4x2k9a0001ab12cd34ef56
      responses:
        '200':
          description: The lead
          content:
            application/json:
              example:
                lead:
                  id: cmg4x2k9a0001ab12cd34ef56
                  leadgenId: '1234567890123456'
                  whatsappNumberId: num_01HZX...
                  pageId: '102345678901234'
                  pageName: MM Design
                  formId: '987654321098765'
                  formName: Orçamento — Outubro
                  adId: '120249828053880703'
                  adName: Ads 01 - Vídeo dos 70%
                  adsetName: '[IG] [LL1% IG + VÍDEOS] - 35 a 50'
                  campaignName: '[CD-01] [LEADS] - MM Design - Sale 70%'
                  platform: ig
                  isOrganic: false
                  createdAt: '2026-10-18T14:32:10.000Z'
                  fullName: Maria Souza
                  email: maria@example.com
                  phone: +55 11 91234-5678
                  fields:
                    - key: full_name
                      label: full_name
                      values:
                        - Maria Souza
                    - key: qual_ambiente
                      label: Qual ambiente você quer reformar?
                      values:
                        - Cozinha
                  consentGiven: null
                  conversationId: null
                  autoSendStatus: none
                  autoSendReason: null
                  source: webhook
                  redacted: false
        '400':
          description: >-
            Invalid date range, pagination too deep, or key not bound to a
            number
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: This API key is not bound to a WhatsApp number
                code: NUMBER_NOT_FOUND
        '401':
          description: Missing or invalid `x-api-key` / `x-api-key-id` header
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: Unauthorized
        '403':
          description: >-
            Account-wide credential without `x-whatsapp-number-id`, or an OAuth
            token whose workspace role lacks `chat:read`
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: >-
                  This endpoint acts on a single WhatsApp number: send the
                  x-whatsapp-number-id header naming the number to act on (its
                  id or instance id from GET /v1/numbers) | Este endpoint atua
                  sobre um único número de WhatsApp: envie o header
                  x-whatsapp-number-id indicando o número desejado (o id dele ou
                  o id da instância, obtidos em GET /v1/numbers)
                code: TENANT_SCOPE_NOT_ALLOWED
        '404':
          description: No lead with this id on the key's number
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
              example:
                error: Lead not found
                code: LEAD_NOT_FOUND
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Your ps_ API key
    apiKeyId:
      type: apiKey
      in: header
      name: x-api-key-id
      description: API key id (alternative to x-api-key)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.