PickFu Templates API

The Templates API from PickFu — 2 operation(s) for templates.

GitHub OpenAPI

Operations 2

GET /templates List product combo templates #
GET /templates/{id} Get product combo template #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pickfu-com:pickfu-com-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pickfu-com-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PickFu Templates API
  version: 1.0.0
  description: 'The PickFu API enables programmatic access to create surveys, retrieve results, and integrate PickFu into your workflows.


    ## Overview


    PickFu helps you get instant consumer feedback through surveys. With the API, you can:


    - Create surveys programmatically

    - Retrieve survey results and respondent data

    - Target specific audiences with demographic traits

    - Integrate PickFu into your product development workflow


    ## Rate Limits


    Selected endpoints (currently the CSV export endpoints) enforce per-caller rate limits and return `429 Too Many Requests` when exceeded. See each endpoint description for its specific budget.


    ## Authentication


    All API requests require a Bearer token — either an API key or an OAuth 2.0 access token. See the Authentication guide for details.'
  contact:
    name: PickFu Support
    email: support@pickfu.com
    url: https://www.pickfu.com
servers:
- url: https://api.pickfu.com/v1
  description: Production
- url: https://api.pickfu-sandbox.com/v1
  description: Sandbox
security:
- bearerAuth: []
tags:
- name: Templates
paths:
  /templates:
    get:
      operationId: listTemplates
      summary: List product combo templates
      tags:
      - Templates
      description: 'Lists the product combos you can create a poll from: ready-made single-question polls at a fixed price per respondent. Returns public combos plus those made for you or your team, yours first. Filter by text, access, country or option type. Call get template for one template''s full constraints, audience and option slots.'
      parameters:
      - schema:
          type: integer
          minimum: 1
          default: 1
        in: query
        name: page
        required: false
      - schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 20
        in: query
        name: limit
        required: false
      - schema:
          type: string
          maxLength: 255
        in: query
        name: query
        required: false
        description: Case-insensitive text matched against template names, descriptions and features
      - schema:
          type: string
          enum:
          - mine
          - public
          - all
          default: all
        in: query
        name: access
        required: false
        description: '`mine` lists templates made for you or your team, `public` the rest'
      - schema:
          type: string
          enum:
          - US
          - FR
          - GB
          - CH
          - ES
          - IT
          - JP
          - MX
          - KR
          - BR
          - DE
          - CA
          - AU
          - ZA
          - IN
          - PL
          - SE
          - GT
        in: query
        name: country
        required: false
        description: Only templates that can run in this country
      - schema:
          type: string
          enum:
          - text
          - image
          - video
          - url
          - product
          - image-set
          - audio
        in: query
        name: optionType
        required: false
        description: Only templates that accept this kind of option
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - templates
                - pagination
                properties:
                  templates:
                    type: array
                    items:
                      type: object
                      additionalProperties: false
                      required:
                      - id
                      - name
                      - description
                      - access
                      - questionTypes
                      - optionCount
                      - pricePerResponse
                      - url
                      properties:
                        id:
                          type: string
                          description: Template id, `cmb_<slug>`; pass it to get template
                        name:
                          type: string
                        description:
                          type: string
                        access:
                          type: string
                          enum:
                          - mine
                          - public
                          description: '`mine` when the template was made for you or your team'
                        questionTypes:
                          type: array
                          items:
                            type: string
                            enum:
                            - head_to_head
                            - ranked
                            - open_ended
                            - star_rating
                            - click_test
                        optionCount:
                          type: object
                          additionalProperties: false
                          required:
                          - min
                          - max
                          properties:
                            min:
                              type: integer
                            max:
                              type: integer
                        pricePerResponse:
                          type: number
                          description: Price per respondent in US dollars at the template's default country
                        url:
                          type: string
                          description: Opens the template in PickFu
                  pagination:
                    type: object
                    additionalProperties: false
                    required:
                    - page
                    - limit
                    - total
                    - totalPages
                    - hasMore
                    properties:
                      page:
                        type: integer
                      limit:
                        type: integer
                      total:
                        type: integer
                      totalPages:
                        type: integer
                      hasMore:
                        type: boolean
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  error:
                    type: string
                  message:
                    type: string
  /templates/{id}:
    get:
      operationId: getTemplate
      summary: Get product combo template
      tags:
      - Templates
      description: 'Returns one product combo template by its cmb_ id: the question and its blanks, the allowed question types, option types and counts, sample sizes and countries with their defaults, option slots, the preset, choosable and blocked audience, reporting traits, context help and an example poll.'
      parameters:
      - schema:
          type: string
          minLength: 1
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - id
                - name
                - description
                - access
                - questionTypes
                - optionCount
                - pricePerResponse
                - url
                - originalPricePerResponse
                - question
                - constraints
                - optionSlots
                - audience
                - reporting
                - context
                - exampleUrl
                properties:
                  id:
                    type: string
                    description: Template id, `cmb_<slug>`; pass it to get template
                  name:
                    type: string
                  description:
                    type: string
                  access:
                    type: string
                    enum:
                    - mine
                    - public
                    description: '`mine` when the template was made for you or your team'
                  questionTypes:
                    type: array
                    items:
                      type: string
                      enum:
                      - head_to_head
                      - ranked
                      - open_ended
                      - star_rating
                      - click_test
                  optionCount:
                    type: object
                    additionalProperties: false
                    required:
                    - min
                    - max
                    properties:
                      min:
                        type: integer
                      max:
                        type: integer
                  pricePerResponse:
                    type: number
                    description: Price per respondent in US dollars at the template's default country
                  url:
                    type: string
                    description: Opens the template in PickFu
                  originalPricePerResponse:
                    type:
                    - number
                    - 'null'
                    description: Price per respondent before the template discount
                  question:
                    type: object
                    additionalProperties: false
                    required:
                    - text
                    - blanks
                    properties:
                      text:
                        type:
                        - string
                        - 'null'
                        description: Question text; `{{name}}` marks a blank to fill
                      blanks:
                        type: array
                        items:
                          type: object
                          additionalProperties: false
                          required:
                          - name
                          - placeholder
                          properties:
                            name:
                              type: string
                            placeholder:
                              type:
                              - string
                              - 'null'
                  constraints:
                    type: object
                    additionalProperties: false
                    required:
                    - questionTypes
                    - optionTypes
                    - optionCount
                    - sampleSizes
                    - defaultSampleSize
                    - countries
                    - defaultCountry
                    properties:
                      questionTypes:
                        type: array
                        items:
                          type: string
                          enum:
                          - head_to_head
                          - ranked
                          - open_ended
                          - star_rating
                          - click_test
                      optionTypes:
                        type: array
                        items:
                          type: string
                          enum:
                          - text
                          - image
                          - video
                          - url
                          - product
                          - image-set
                          - audio
                      optionCount:
                        type: object
                        additionalProperties: false
                        required:
                        - min
                        - max
                        properties:
                          min:
                            type: integer
                          max:
                            type: integer
                      sampleSizes:
                        type: array
                        items:
                          type: string
                      defaultSampleSize:
                        type: string
                      countries:
                        type: array
                        items:
                          type: string
                      defaultCountry:
                        type: string
                  optionSlots:
                    type: array
                    items:
                      type: object
                      additionalProperties: false
                      required:
                      - label
                      - helpText
                      - kind
                      - presetValue
                      properties:
                        label:
                          type: string
                        helpText:
                          type:
                          - string
                          - 'null'
                        kind:
                          type:
                          - string
                          - 'null'
                          enum:
                          - text
                          - image
                          - video
                          - url
                          - product
                          - image-set
                          - audio
                          - null
                        presetValue:
                          type:
                          - string
                          - 'null'
                  audience:
                    type: object
                    additionalProperties: false
                    required:
                    - presetRequired
                    - preset
                    - choosable
                    - openSlots
                    - blocked
                    properties:
                      presetRequired:
                        type: boolean
                        description: Whether the survey must target every preset value
                      preset:
                        type: array
                        items:
                          type: object
                          additionalProperties: false
                          required:
                          - trait
                          - value
                          properties:
                            trait:
                              type: object
                              additionalProperties: false
                              required:
                              - permalink
                              - label
                              properties:
                                permalink:
                                  type: string
                                label:
                                  type: string
                            value:
                              type: object
                              additionalProperties: false
                              required:
                              - permalink
                              - label
                              properties:
                                permalink:
                                  type: string
                                label:
                                  type: string
                      choosable:
                        type: array
                        items:
                          type: object
                          additionalProperties: false
                          required:
                          - permalink
                          - label
                          properties:
                            permalink:
                              type: string
                            label:
                              type: string
                        description: Traits whose value the survey may choose
                      openSlots:
                        type: integer
                        description: How many other traits the survey may add
                      blocked:
                        type: array
                        items:
                          type: object
                          additionalProperties: false
                          required:
                          - permalink
                          - label
                          properties:
                            permalink:
                              type: string
                            label:
                              type: string
                        description: Traits the survey may not target
                  reporting:
                    type: array
                    items:
                      type: object
                      additionalProperties: false
                      required:
                      - permalink
                      - label
                      properties:
                        permalink:
                          type: string
                        label:
                          type: string
                  context:
                    type:
                    - object
                    - 'null'
                    additionalProperties: false
                    required:
                    - help
                    properties:
                      help:
                        type:
                        - string
                        - 'null'
                  exampleUrl:
                    type:
                    - string
                    - 'null'
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  statusCode:
                    type: integer
                  error:
                    type: string
                  message:
                    type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'OAuth2 access token obtained via the authorization flow. Include in the Authorization header as: `Bearer {access_token}`'