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

# Reveal contacts

> Returns one outcome per contact ID in request order. Revealing contacts at a store your team has unlocked costs nothing. This call never charges more than max_credits. Safe to retry: a reveal is never charged twice. Shoplist checks access again on each retry.



## OpenAPI

````yaml /openapi/v1.json post /v1/contacts/reveal
openapi: 3.1.0
info:
  title: Shoplist API
  version: 1.0.0
servers:
  - url: https://api.shoplist.co
security: []
tags:
  - name: Account
  - name: Vocabulary
  - name: Stores
  - name: Apps
  - name: Contacts
  - name: Exports
  - name: Events
  - name: Webhooks
paths:
  /v1/contacts/reveal:
    post:
      tags:
        - Contacts
      summary: Reveal contacts
      description: >-
        Returns one outcome per contact ID in request order. Revealing contacts
        at a store your team has unlocked costs nothing. This call never charges
        more than max_credits. Safe to retry: a reveal is never charged twice.
        Shoplist checks access again on each retry.
      operationId: revealContacts
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            pattern: ^[!-~]{1,255}$
            description: A caller-supplied key of 1 to 255 visible ASCII characters.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                contact_ids:
                  minItems: 1
                  maxItems: 10
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 64
                    description: >-
                      The opaque contact identifier, which clients should treat
                      as an uninterpreted string.
                  description: >-
                    From 1 to 10 distinct opaque contact IDs to reveal, in
                    request order.
                  uniqueItems: true
                max_credits:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                  description: >-
                    The maximum credits this call may charge. Revealing
                    already-unlocked contacts costs zero credits.
              required:
                - contact_ids
                - max_credits
              additionalProperties: false
            example:
              contact_ids:
                - 07a00000-0000-4000-8000-000000000006
              max_credits: 0
      responses:
        '200':
          description: Successful response
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      oneOf:
                        - type: object
                          properties:
                            contact_id:
                              type: string
                              minLength: 1
                              maxLength: 64
                              description: >-
                                The opaque contact identifier, which clients
                                should treat as an uninterpreted string.
                            outcome:
                              type: string
                              const: revealed
                              description: The contact was revealed.
                            contact:
                              type: object
                              properties:
                                object:
                                  type: string
                                  const: contact
                                  description: The resource type.
                                id:
                                  type: string
                                  minLength: 1
                                  maxLength: 64
                                  description: >-
                                    The opaque contact identifier, which clients
                                    should treat as an uninterpreted string.
                                store_id:
                                  anyOf:
                                    - type: string
                                      minLength: 1
                                      maxLength: 64
                                      description: >-
                                        The opaque store identifier, which
                                        clients should treat as an uninterpreted
                                        string.
                                    - type: 'null'
                                  description: >-
                                    The opaque identifier of the associated
                                    store, when available.
                                masked_name:
                                  type: string
                                  pattern: \S
                                  description: >-
                                    The contact name with identifying characters
                                    masked.
                                title:
                                  anyOf:
                                    - type: string
                                      pattern: \S
                                    - type: 'null'
                                  description: The job title of the contact.
                                seniority:
                                  anyOf:
                                    - type: string
                                      pattern: \S
                                    - type: 'null'
                                  description: The seniority level of the contact.
                                has_email:
                                  type: boolean
                                  description: >-
                                    Whether a work email address is available
                                    for the contact.
                                has_phone:
                                  type: boolean
                                  description: >-
                                    Whether a phone number is available for the
                                    contact.
                                has_linkedin:
                                  type: boolean
                                  description: >-
                                    Whether a LinkedIn profile is available for
                                    the contact.
                                revealed:
                                  type: boolean
                                  const: true
                                  description: >-
                                    Whether the caller has received the unmasked
                                    name and available contact channels in this
                                    record.
                                full_name:
                                  type: string
                                  pattern: \S
                                  description: The unmasked name of the contact.
                                email:
                                  anyOf:
                                    - type: string
                                      pattern: \S
                                    - type: 'null'
                                  description: The work email address of the contact.
                                phone:
                                  anyOf:
                                    - type: string
                                      pattern: \S
                                    - type: 'null'
                                  description: The phone number of the contact.
                                linkedin_url:
                                  anyOf:
                                    - type: string
                                      pattern: \S
                                    - type: 'null'
                                  description: >-
                                    The URL of the LinkedIn profile of the
                                    contact.
                              required:
                                - object
                                - id
                                - store_id
                                - masked_name
                                - title
                                - seniority
                                - has_email
                                - has_phone
                                - has_linkedin
                                - revealed
                                - full_name
                                - email
                                - phone
                                - linkedin_url
                              additionalProperties: false
                              description: The full contact record.
                          required:
                            - contact_id
                            - outcome
                            - contact
                          additionalProperties: false
                        - type: object
                          properties:
                            contact_id:
                              type: string
                              minLength: 1
                              maxLength: 64
                              description: >-
                                The opaque contact identifier, which clients
                                should treat as an uninterpreted string.
                            outcome:
                              type: string
                              enum:
                                - store_locked
                                - not_found
                              description: >-
                                Whether the store is locked or the contact was
                                not found.
                            contact:
                              type: 'null'
                              description: No contact details were revealed.
                          required:
                            - contact_id
                            - outcome
                            - contact
                          additionalProperties: false
                    description: >-
                      The outcome for each requested contact ID, in request
                      order.
                required:
                  - data
                additionalProperties: false
              example:
                data:
                  - contact_id: 07a00000-0000-4000-8000-000000000006
                    outcome: revealed
                    contact:
                      object: contact
                      id: 07a00000-0000-4000-8000-000000000006
                      store_id: 07a00000-0000-4000-8000-000000000004
                      masked_name: Taylor O.
                      title: Director of Operations
                      seniority: Director
                      has_email: true
                      has_phone: false
                      has_linkedin: false
                      revealed: true
                      full_name: Taylor Orchard
                      email: taylor@example.test
                      phone: null
                      linkedin_url: null
        '400':
          description: Invalid request
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: invalid_request
                      type:
                        const: https://shoplist.co/docs/errors#invalid_request
                      title:
                        const: Invalid request
                      status:
                        const: 400
        '401':
          description: Unauthenticated
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: unauthenticated
                      type:
                        const: https://shoplist.co/docs/errors#unauthenticated
                      title:
                        const: Unauthenticated
                      status:
                        const: 401
        '402':
          description: Plan required
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: plan_required
                      type:
                        const: https://shoplist.co/docs/errors#plan_required
                      title:
                        const: Plan required
                      status:
                        const: 402
        '403':
          description: Insufficient scope
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: insufficient_scope
                      type:
                        const: https://shoplist.co/docs/errors#insufficient_scope
                      title:
                        const: Insufficient scope
                      status:
                        const: 403
        '409':
          description: Request in progress
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: idempotency_in_progress
                      type:
                        const: >-
                          https://shoplist.co/docs/errors#idempotency_in_progress
                      title:
                        const: Request in progress
                      status:
                        const: 409
        '413':
          description: Payload too large
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: payload_too_large
                      type:
                        const: https://shoplist.co/docs/errors#payload_too_large
                      title:
                        const: Payload too large
                      status:
                        const: 413
        '422':
          description: Idempotency key reused
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: idempotency_key_reused
                      type:
                        const: https://shoplist.co/docs/errors#idempotency_key_reused
                      title:
                        const: Idempotency key reused
                      status:
                        const: 422
        '429':
          description: Rate limit exceeded
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
            RateLimit-Limit:
              schema:
                type: integer
                minimum: 0
            RateLimit-Remaining:
              schema:
                type: integer
                minimum: 0
            RateLimit-Reset:
              description: Seconds until the rate limit resets.
              schema:
                type: integer
                minimum: 0
            Retry-After:
              required: true
              description: Seconds to wait before retrying.
              schema:
                type: integer
                minimum: 0
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: rate_limited
                      type:
                        const: https://shoplist.co/docs/errors#rate_limited
                      title:
                        const: Rate limit exceeded
                      status:
                        const: 429
        '500':
          description: Internal error
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: internal_error
                      type:
                        const: https://shoplist.co/docs/errors#internal_error
                      title:
                        const: Internal error
                      status:
                        const: 500
        '503':
          description: Service unavailable
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
            RateLimit-Limit:
              schema:
                type: integer
                minimum: 0
            RateLimit-Remaining:
              schema:
                type: integer
                minimum: 0
            RateLimit-Reset:
              description: Seconds until the rate limit resets.
              schema:
                type: integer
                minimum: 0
            Retry-After:
              required: true
              description: Seconds to wait before retrying.
              schema:
                type: integer
                minimum: 0
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: service_unavailable
                      type:
                        const: https://shoplist.co/docs/errors#service_unavailable
                      title:
                        const: Service unavailable
                      status:
                        const: 503
      security:
        - bearerAuth: []
components:
  schemas:
    Problem:
      type: object
      properties:
        type:
          type: string
          description: The URL that identifies and documents this error type.
        title:
          type: string
          minLength: 1
          description: The fixed title of the error type.
        status:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: The HTTP status code of the response.
        detail:
          type: string
          minLength: 1
          description: An explanation of the error for this request.
        code:
          type: string
          enum:
            - invalid_request
            - unauthenticated
            - plan_required
            - allowance_exceeded
            - insufficient_credits
            - spending_cap_exceeded
            - insufficient_scope
            - not_found
            - method_not_allowed
            - idempotency_in_progress
            - cursor_expired
            - payload_too_large
            - idempotency_key_reused
            - rate_limited
            - internal_error
            - service_unavailable
          description: The stable machine-readable error code.
        request_id:
          type: string
          pattern: ^req_[a-f0-9]{24}$
          description: The server-generated identifier for this request.
        errors:
          description: Details for up to 20 invalid inputs.
          maxItems: 20
          type: array
          items:
            type: object
            properties:
              path:
                type: string
                description: The dotted path to the invalid input.
              message:
                type: string
                minLength: 1
                description: The validation message for that input.
            required:
              - path
              - message
            additionalProperties: false
      required:
        - type
        - title
        - status
        - detail
        - code
        - request_id
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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