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

# Redeem Discovery Pass code

> Redeem Discovery Pass code

**CLI:**

```bash theme={null}
puffle test-access redeem create --code <code>
```

## Overview

Redeem Discovery Pass code

This page documents `post /api/test-access/redeem`. Use the request and response sections on this page for accepted parameters, payload fields, response fields, and authentication behavior.

## AI agent notes

* Confirm the operation matches the user's intent before calling it.
* For write operations, confirm the user intends to change state.
* Surface validation, permission, and not-found errors instead of retrying unchanged.


## OpenAPI

````yaml post /api/test-access/redeem
openapi: 3.0.3
info:
  title: Puffle API
  version: 1.0.0
  description: >-
    HTTP API for the Puffle GTM platform - Feed and Lead Finder search
    preparation, campaign-backed Outbound execution, Puffle Agent runs, sender
    management, and Unibox reply workflows. Designed for operation by both
    humans and autonomous AI agents. Agents should start at the [Agent
    Playbook](/guides/agent-playbook) which prescribes a workspace-context check
    (`GET /api/context`) and core user journeys with exact call ordering.
  contact:
    name: Puffle Support
    url: https://puffle.ai
servers:
  - url: https://app.puffle.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Campaigns
    description: >-
      Campaign-backed Outbound execution. These endpoints manage draft,
      launching, active, paused, and completed Outbound runs with sequence
      nodes, contacts, and sender accounts.
  - name: Accounts
    description: Signed-in user account, settings, and workspace context endpoints.
  - name: Billing
    description: Billing customer portal and account billing endpoints.
  - name: Senders
    description: >-
      Connected sender accounts, email inboxes, sending domains, DNS
      verification, warmup, and sender capacity.
  - name: Socials
    description: >-
      Read connected LinkedIn and X accounts, review current and archived posts,
      and reconcile publication status. Creating, editing, scheduling,
      publishing, OAuth connection, analytics, and mentions remain
      dashboard-managed workflows and are not part of the public Bearer-token
      API.
paths:
  /api/test-access/redeem:
    post:
      tags:
        - Discovery Pass
      summary: Redeem Discovery Pass code
      description: Redeem Discovery Pass code
      operationId: testAccess.redeem
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  minLength: 1
                  maxLength: 100
              required:
                - code
              additionalProperties: false
      responses:
        '200':
          description: Discovery Pass redeemed
          content:
            application/json:
              schema:
                type: object
                properties:
                  access:
                    type: object
                    properties:
                      kind:
                        type: string
                        enum:
                          - paid_plan
                          - grandfathered_free
                          - test_access
                          - none
                          - unknown
                      canCreateLeads:
                        type: boolean
                      verifiedAt:
                        type: string
                        nullable: true
                    required:
                      - kind
                      - canCreateLeads
                      - verifiedAt
                    additionalProperties: false
                  eligibility:
                    type: object
                    properties:
                      canRedeem:
                        type: boolean
                      reason:
                        type: string
                    required:
                      - canRedeem
                      - reason
                    additionalProperties: false
                  testAccess:
                    type: object
                    properties:
                      id:
                        type: string
                      source:
                        type: string
                        enum:
                          - puffle_domain
                          - preview_environment
                          - test_code
                      status:
                        type: string
                        enum:
                          - active
                          - expired
                          - emergency_revoked
                      activatedAt:
                        type: string
                      expiresAt:
                        type: string
                      discoveryLimit:
                        type: integer
                        exclusiveMinimum: true
                        maximum: 9007199254740991
                        minimum: 0
                      discoveryUsed:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      remaining:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      terminalReason:
                        type: string
                        enum:
                          - expired
                          - emergency_revoked
                        nullable: true
                    required:
                      - id
                      - source
                      - status
                      - activatedAt
                      - expiresAt
                      - discoveryLimit
                      - discoveryUsed
                      - remaining
                      - terminalReason
                    additionalProperties: false
                    nullable: true
                  redeemed:
                    type: boolean
                    enum:
                      - true
                required:
                  - access
                  - eligibility
                  - testAccess
                  - redeemed
                additionalProperties: false
        '400':
          description: Invalid code
        '409':
          description: Ineligible
        '429':
          description: Locked
        '503':
          description: Billing unavailable
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pk_live_...

````