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

# The personalization variables this campaign's steps can use

> Lists the custom and smart column tokens the campaign's steps can personalise with, deduplicated across the campaign's source lists (the first list that defines a column name wins, which is how values resolve at send time). Paste a `token` verbatim into a step's subject or body and it is substituted per lead when the message is sent. Columns whose name contains a brace or a pipe are skipped because they could never form a usable token. Built-in tokens such as {Contact First Name} are always available and are not listed here. Only the token owner's own campaigns resolve, and a deleted campaign answers 404. Rate limit: 30 requests/minute and 1,000/day per token owner, shared by every campaign, scheduled-send, campaign-template and knowledge-hub endpoint.

Errors:
- `404` `CAMPAIGN_NOT_FOUND` — No campaign with this id exists, it belongs to another account (including a campaign delegated to you or shared by your team's visibility settings), or it has been deleted.
- `422` `VALIDATION_FAILED` — campaignId is not a 24-character hex id.
- `429` `RATE_LIMITED` — More than 30 campaign requests in a minute, or 1,000 in a day, for this token owner (the bucket is shared by every /business/campaigns, /business/scheduled-sends, /business/campaign-templates and /business/knowledge-hubs call).
- `500` `UNEXPECTED_ERROR` — An unhandled failure; the detail stays in our logs and is never returned.

Requires one of the following token scopes: campaigns.



## OpenAPI

````yaml /openapi.json get /business/campaigns/{campaignId}/variables
openapi: 3.1.0
info:
  title: Fuse Business API
  version: 1.0.0
  description: >-
    External API for lists, campaigns, prospect search and contacts.
    Authenticate with your API token as HTTP Basic. All paths are under /api/v1.
servers:
  - url: https://api.tryfuse.ai/api/v1
    description: Production
security:
  - basicAuth: []
tags:
  - name: Lists
  - name: Custom columns
  - name: Smart columns
  - name: Exports
  - name: Campaigns
  - name: Knowledge hubs
  - name: Analytics
  - name: Website intent
  - name: Account
  - name: Prospect search
  - name: Campaign steps
  - name: Scheduled sends
  - name: Campaign templates
  - name: Agents
  - name: Research
  - name: Company search
  - name: Saved searches
  - name: Folders
  - name: Contacts
paths:
  /business/campaigns/{campaignId}/variables:
    get:
      tags:
        - Campaigns
      summary: The personalization variables this campaign's steps can use
      description: >-
        Lists the custom and smart column tokens the campaign's steps can
        personalise with, deduplicated across the campaign's source lists (the
        first list that defines a column name wins, which is how values resolve
        at send time). Paste a `token` verbatim into a step's subject or body
        and it is substituted per lead when the message is sent. Columns whose
        name contains a brace or a pipe are skipped because they could never
        form a usable token. Built-in tokens such as {Contact First Name} are
        always available and are not listed here. Only the token owner's own
        campaigns resolve, and a deleted campaign answers 404. Rate limit: 30
        requests/minute and 1,000/day per token owner, shared by every campaign,
        scheduled-send, campaign-template and knowledge-hub endpoint.


        Errors:

        - `404` `CAMPAIGN_NOT_FOUND` — No campaign with this id exists, it
        belongs to another account (including a campaign delegated to you or
        shared by your team's visibility settings), or it has been deleted.

        - `422` `VALIDATION_FAILED` — campaignId is not a 24-character hex id.

        - `429` `RATE_LIMITED` — More than 30 campaign requests in a minute, or
        1,000 in a day, for this token owner (the bucket is shared by every
        /business/campaigns, /business/scheduled-sends,
        /business/campaign-templates and /business/knowledge-hubs call).

        - `500` `UNEXPECTED_ERROR` — An unhandled failure; the detail stays in
        our logs and is never returned.


        Requires one of the following token scopes: campaigns.
      operationId: listCampaignVariables
      parameters:
        - name: campaignId
          in: path
          required: true
          description: >-
            The campaign's id (24-character hex ObjectId), as returned by POST
            /business/campaigns or as the campaignId of a GET
            /business/campaigns row.
          schema:
            type: string
            description: >-
              The campaign's id (24-character hex ObjectId), as returned by POST
              /business/campaigns or as the campaignId of a GET
              /business/campaigns row.
      responses:
        '200':
          description: Success
          headers:
            RateLimit-Limit:
              schema:
                type: integer
              description: Requests permitted in the current window.
            RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current window.
            RateLimit-Reset:
              schema:
                type: integer
              description: Seconds until the current window resets.
          content:
            application/json:
              schema:
                type: object
                properties:
                  variables:
                    type: array
                    items:
                      type: object
                      properties:
                        token:
                          type:
                            - string
                            - 'null'
                          description: >-
                            The literal token to paste into a step, for example
                            {Column: Lead Score}.
                        name:
                          type:
                            - string
                            - 'null'
                          description: The column's name.
                        type:
                          type:
                            - string
                            - 'null'
                          description: >-
                            The column's value type (for example text, number,
                            enum, date).
                        listId:
                          type:
                            - string
                            - 'null'
                          description: The list that defines the column.
                        listName:
                          type:
                            - string
                            - 'null'
                      required:
                        - token
                        - name
                        - type
                        - listId
                        - listName
                required:
                  - variables
              example:
                variables:
                  - token: '{Column: Lead Score}'
                    name: Lead Score
                    type: enum
                    listId: 6a1edba88936e0fe1b20287c
                    listName: Fintech CFOs - US
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - basicAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type:
                - string
                - 'null'
            request_id:
              type:
                - string
                - 'null'
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Your API token (`af_…`) as the Basic-auth username, with an empty
        password.

````