> ## Documentation Index
> Fetch the complete documentation index at: https://developer.mailbeast.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List contacts

> Page through the people of the workspace, newest first, with their profile, status and campaigns. Filter by search, status, campaign or email domain.

Requires one of the following scopes: `contacts:read`, `contacts:all`, `all:read`, `all:all`.



## OpenAPI

````yaml /openapi.json get /v1/contacts
openapi: 3.0.0
info:
  title: MailBeast Public API
  description: >-
    Task-shaped REST API for campaigns, leads, deliverability, verification and
    lead discovery. Authenticate with an API key (`Authorization: Bearer
    mb_live_…`); the workspace is resolved from the key.
  version: '1'
  contact: {}
servers:
  - url: https://api.mailbeast.ai
security: []
tags:
  - name: API Keys
    description: Create, list and delete API keys programmatically.
  - name: Campaigns
    description: Create, configure, launch and monitor email campaigns.
  - name: Subsequences
    description: >-
      Follow-up flows of a campaign that start on a lead status, a reply, an
      open, a click or a finished sequence - from the same mailbox, in the same
      thread.
  - name: Leads
    description: Add, read, update and bulk-manage a campaign’s leads.
  - name: Contacts
    description: >-
      The people of the workspace, one per email across all campaigns: list,
      upsert, update and delete.
  - name: Workspace
    description: Read usage, subscription and workspace identity.
  - name: Email Accounts
    description: >-
      Connect and manage the sending mailboxes your campaigns send from
      (SMTP/IMAP or native OAuth).
  - name: Analytics
    description: Engagement reporting – per campaign, over time, and across the workspace.
  - name: Lead Finder
    description: >-
      Discover new companies and leads. List past searches and poll a running
      search’s progress.
paths:
  /v1/contacts:
    get:
      tags:
        - Contacts
      summary: List contacts
      description: >-
        Page through the people of the workspace, newest first, with their
        profile, status and campaigns. Filter by search, status, campaign or
        email domain.


        Requires one of the following scopes: `contacts:read`, `contacts:all`,
        `all:read`, `all:all`.
      operationId: contacts_list
      parameters:
        - name: cursor
          required: false
          in: query
          description: >-
            Opaque cursor from a previous response’s `meta.nextCursor`. Omit for
            the first page. Contacts are ordered newest-first.
          schema:
            example: >-
              eyJ0cyI6IjIwMjYtMDctMDJUMDA6MDA6MDAuMDAwWiIsImlkIjoiM2YxYzJiN2UtOWE0ZC00ZTE4LWIyYzEtNmQ4ZjVhMGU3YzkzIn0
            type: string
        - name: limit
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 50
            example: 50
            type: number
        - name: search
          required: false
          in: query
          description: Match on email, first / last name or company.
          schema:
            example: acme
            type: string
        - name: status
          required: false
          in: query
          description: >-
            Contact status: the furthest status of the person across their
            campaigns.
          schema:
            type: string
            enum:
              - not_contacted
              - scheduled
              - email_sent
              - failed
              - skipped
              - lead_replied_interested
              - lead_replied_meeting_request
              - lead_replied_out_of_office
              - lead_replied_bounce
              - lead_replied_wrong_person
              - lead_replied_not_interested
              - lead_replied_unsubscribed
              - lead_replied_uncategorized
              - lead_converted
              - lead_lost
              - blacklisted
        - name: campaignId
          required: false
          in: query
          description: Only people in this campaign.
          schema:
            type: string
            format: uuid
        - name: domain
          required: false
          in: query
          description: Only people with an email at this domain.
          schema:
            example: acme.com
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactListApiResponseDto'
        '400':
          description: The request body or parameters failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: invalid_request_error
                  code: validation_failed
                  message: One or more fields are invalid.
                  status: 400
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
                  details:
                    - name should not be empty
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: authentication_error
                  code: unauthenticated
                  message: Missing or invalid API key.
                  status: 401
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
        '403':
          description: >-
            The key lacks a required scope, or the plan does not include API
            access.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: authorization_error
                  code: permission_denied
                  message: This API key is missing the required scope.
                  status: 403
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
        '429':
          description: >-
            Rate limit exceeded - retry after the interval in the Retry-After
            header.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
              example:
                error:
                  type: rate_limit_error
                  code: rate_limited
                  message: >-
                    Too many requests. Retry after the interval in the
                    Retry-After header.
                  status: 429
                  requestId: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
                  retryAfter: 30
      security:
        - ApiKey: []
components:
  schemas:
    ContactListApiResponseDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ContactApiDto'
        meta:
          $ref: '#/components/schemas/ContactListMetaDto'
      required:
        - data
        - meta
    ApiErrorDto:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiErrorBodyDto'
      required:
        - error
    ContactApiDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: 019a7c3e-5b21-7d40-9e1f-2a3b4c5d6e7f
        email:
          type: string
          example: anna@northwind.io
        firstName:
          type: string
          nullable: true
          example: Anna
        lastName:
          type: string
          nullable: true
          example: Berg
        companyName:
          type: string
          nullable: true
          example: Northwind
        jobTitle:
          type: string
          nullable: true
          example: Head of Sales
        website:
          type: string
          nullable: true
          example: northwind.io
        linkedinProfile:
          type: string
          nullable: true
        location:
          type: string
          nullable: true
          example: Berlin
        tags:
          example:
            - vip
          type: array
          items:
            type: string
        customFields:
          type: object
          additionalProperties: true
          example:
            industry: SaaS
        status:
          type: string
          enum:
            - not_contacted
            - scheduled
            - email_sent
            - failed
            - skipped
            - lead_replied_interested
            - lead_replied_meeting_request
            - lead_replied_out_of_office
            - lead_replied_bounce
            - lead_replied_wrong_person
            - lead_replied_not_interested
            - lead_replied_unsubscribed
            - lead_replied_uncategorized
            - lead_converted
            - lead_lost
            - blacklisted
            - null
          nullable: true
          description: >-
            `blacklisted` while the address or its domain is on the workspace
            blocklist; otherwise the furthest status of the person across their
            campaigns; null if they are in no campaign, or if every campaign row
            of theirs was blocked and the block was lifted later.
        doNotContact:
          type: boolean
          description: >-
            Unsubscribed, blocked or bounced. An unsubscribe or a bounce stops
            the campaign where it happened, a block (the workspace blocklist)
            stops every campaign; adding the person to a campaign from Contacts
            skips them.
        inSequence:
          type: boolean
          description: Some campaign still has emails to send this person.
        verification:
          $ref: '#/components/schemas/ContactVerificationApiView'
        provider:
          type: string
          example: google
          description: Mailbox provider of the address.
        emailsSent:
          type: number
          example: 3
          description: Emails sent to the person across all campaigns.
        repliedAt:
          type: string
          format: date-time
          nullable: true
        campaigns:
          description: Campaigns the person is in, newest first.
          type: array
          items:
            $ref: '#/components/schemas/ContactCampaignApiDto'
        version:
          type: number
          example: 2
          description: >-
            Pass it back in PATCH; a newer version → 409
            `contact_version_conflict`.
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - email
        - tags
        - customFields
        - doNotContact
        - inSequence
        - verification
        - provider
        - emailsSent
        - campaigns
        - version
        - createdAt
        - updatedAt
    ContactListMetaDto:
      type: object
      properties:
        hasMore:
          type: boolean
          example: true
        nextCursor:
          type: string
          nullable: true
          example: >-
            eyJ0cyI6IjIwMjYtMDctMDJUMDA6MDA6MDAuMDAwWiIsImlkIjoiM2YxYzJiN2UtOWE0ZC00ZTE4LWIyYzEtNmQ4ZjVhMGU3YzkzIn0
      required:
        - hasMore
    ApiErrorBodyDto:
      type: object
      properties:
        type:
          type: string
          example: authorization_error
          description: Broad error class.
        code:
          type: string
          example: permission_denied
          description: Stable machine-readable code to switch on.
        message:
          type: string
          example: This API key is missing the required scope.
        status:
          type: number
          example: 403
        requestId:
          type: string
          example: e4f1c0b2-6a3d-4b8e-9f21-0a1b2c3d4e5f
          description: Correlation id - quote it in support requests.
        details:
          description: Field-level validation messages (present on validation errors).
          example:
            - name should not be empty
          type: array
          items:
            type: string
        retryAfter:
          type: number
          description: Seconds to wait before retrying (present on 429 responses).
          example: 30
      required:
        - type
        - code
        - message
        - status
        - requestId
    ContactVerificationApiView:
      type: object
      properties:
        status:
          type: string
          example: valid
        subStatus:
          type: string
          nullable: true
        verifiedAt:
          type: string
          format: date-time
          nullable: true
      required:
        - status
    ContactCampaignApiDto:
      type: object
      properties:
        campaignId:
          type: string
          format: uuid
          example: a7d4e2f1-08b3-4c65-9e7a-1b2c3d4e5f60
        campaignName:
          type: string
          example: Q4 Product Launch Outreach
        leadId:
          type: string
          format: uuid
          description: >-
            The person’s lead in that campaign
            (`/v1/campaigns/{campaignId}/leads/{leadId}`).
          example: c9e5b1a3-7f24-4d80-a6b9-2e4f8c0d1a37
        leadStatus:
          type: string
          enum:
            - not_contacted
            - scheduled
            - email_sent
            - failed
            - skipped
            - lead_replied_interested
            - lead_replied_meeting_request
            - lead_replied_out_of_office
            - lead_replied_bounce
            - lead_replied_wrong_person
            - lead_replied_not_interested
            - lead_replied_unsubscribed
            - lead_replied_uncategorized
            - lead_converted
            - lead_lost
            - blacklisted
          example: email_sent
        inSequence:
          type: boolean
          description: >-
            The campaign (or one of its subsequences) still has emails to send
            this person.
      required:
        - campaignId
        - campaignName
        - leadId
        - leadStatus
        - inSequence
  securitySchemes:
    ApiKey:
      scheme: bearer
      bearerFormat: mb_live_…
      type: http

````

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