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

> ## Agent Instructions
> Usertick runs surveys on websites, by link, by QR code and by email, and collects every response in one inbox with reports, dashboards and workflows. The REST API lives at https://app.usertick.com/api/public/v1 and uses Bearer API keys or OAuth access tokens; the JavaScript SDK is the @usertick/snippet package on npm.

# List a workflow step's choices

> What one input of a workflow step can pick, as the workflow editor's picker lists it: channels, projects, people, issue types and fields of a connected tool, the organization's members (usertick.notify and usertick.assign, the user ids the step stores) or its webhooks (webhook.send, by name and host; an address or a secret is never shown). action and input are keys of GET /workflows/capabilities; an unknown one, or an input that isn't picked from a list, is 400 PUB-016-007. connectionId is required for a step of a connected tool; a connection of another organization, of another tool or of a kind the action doesn't run on, and any connection on a step that sends with none, is 404 PUB-016-006. An input that depends on others of the step (a Jira issue type on its project) needs them in params: one that is missing is 400 PUB-001-004 at params.{key}. A plan without workflows, or without the step, is 403 PLN-002-001. A tool's list is read at most once in 5 minutes. Needs the member's permission to manage workflows.

Scopes: integrations:read, workflows:draft.



## OpenAPI

````yaml api-reference/openapi.json GET /workflows/options
openapi: 3.1.0
info:
  title: Usertick Public API
  version: 1.0.0
  description: >-
    The Usertick REST API v1: responses, surveys, metrics, contacts, email sends
    and webhook subscriptions of one organization.


    **Authentication.** Send an API key (Settings, Developers, API keys;
    utk_...) or an app's OAuth access token (uto_...) as Authorization: Bearer.
    X-Api-Key works for clients that cannot set Authorization. Each endpoint
    lists the scopes it needs. API keys work on Pro plans and up, and apps such
    as Zapier on every plan. AI assistants reach the API only through the
    Usertick MCP server (Starter and up), never with their token directly.


    **Format.** Plain JSON resources; times are RFC 3339 in UTC with
    milliseconds (2026-09-30T10:00:00.000Z). Lists are { data, nextCursor }:
    limit is 1 to 100 (default 25, out of range is 400), and nextCursor goes
    back as cursor until it is null. A page starts strictly after the last row
    of the page before, so a row deleted or renamed in between never ends a list
    early.


    **Errors.** Every error is { statusCode, success: false, code, message, data
    }, plus errors: [{ field, code, message }] for invalid fields. Switch on
    code (x-error-codes lists them all); messages may change. A path with no
    route answers 404 GEN-000-404, a method the route doesn't take 405
    GEN-000-405 and a body that is not JSON (multipart/form-data on a file
    upload) 415 GEN-000-415, in the same envelope.


    **Rate limits.** The plan sets the requests a minute, as token buckets: 300
    per credential and 1,500 per organization on Business, 120 and 600 on the
    other plans, and an Enterprise plan may set its own. GET /me returns the
    ones that apply. An answer to an authenticated request has
    X-RateLimit-Limit, -Remaining and -Reset (seconds until the budget is full)
    for the credential, and X-RateLimit-Org-* for the organization, except a 429
    over the credential's budget, which has the credential's only, and
    X-RateLimit-Window: 60s. Over a budget is 429 with Retry-After, the seconds
    the bucket takes to refill one request. A 401 carries no X-RateLimit
    headers, and neither does a 429 GEN-429-001 from the per-address limit
    (3,000 requests a minute per client address, checked before the credential).
    Calls from the Usertick MCP server skip the per-address limit, since every
    assistant arrives from its addresses; the per-credential and
    per-organization budgets still apply to them.


    **Idempotency.** Every POST, and the PATCH of a survey, dashboard or
    workflow draft or of a survey theme, takes an Idempotency-Key header: the
    same key and request within 24 hours get the first answer again. A refusal
    that depends on state (a 403, a 409 or a 429) and a server error are not
    kept, so the same request with the key runs again.


    **Survey drafts.** With surveys:draft an assistant or a script creates
    surveys as drafts, copies any survey into a draft, and edits a draft or the
    unpublished changes of a live or paused survey; a person publishes them in
    Usertick. With surveys:archive it archives surveys and restores archived
    ones as drafts.


    **Themes, folders and pictures.** With themes:write a script creates survey
    themes and edits those no live or paused survey uses; with surveys:organize
    it creates and renames survey folders, files surveys under them and moves
    draft surveys between sites; with media:write it uploads pictures to the
    media library. None of it changes what visitors see.


    **Contacts and email.** With contacts:read and contacts:write a script
    manages contacts, lists and their members, and erases a contact with every
    response of the person (POST /contacts/{contactId}/erase, with
    responses:delete). With email:read it reads the survey email sends; sending
    stays in Usertick.


    **Dashboards and workflows.** With dashboards:draft an assistant or a script
    creates and copies dashboards as drafts and edits their drafts; with
    workflows:draft it creates and copies workflows switched off and edits their
    drafts. A person publishes either one in Usertick. dashboards:read and
    workflows:read list and read them, and integrations:read lists what a
    workflow step can pick of a connected tool. With dashboards:share an app or
    an AI assistant shares a board its member owns with people in the
    organization, never outside it.


    **Exports.** With exports:create (and responses:read) a script starts CSV or
    Excel exports of a survey's Results or of a dashboard, the files the Export
    menu makes, and downloads them for 24 hours. Each file counts as one of the
    plan's exports a month.


    **Support tickets.** With support:read and support:write an app or an AI
    assistant opens support tickets for the member it signed in as, lists that
    member's tickets and replies on them, with files as on the Help page: each
    file is uploaded first, or copied from the media library with surveys:read,
    and named in the message, and every file of a thread downloads through a
    link that works for five minutes. A ticket belongs to a person, so an API
    key can't carry these scopes. Support tickets come with the paid plans.


    **Versioning.** Within /v1 changes are additive only: new endpoints, new
    optional parameters, new fields (ignore fields you do not know). Anything
    that will go away is announced at least six months ahead with Deprecation
    and Sunset headers on its answers.


    **Webhooks.** Every delivery is { id, type, createdAt, data }, signed per
    Standard Webhooks (see webhooks). data is the Response resource, with change
    on response.status_changed and response.classification_corrected; on
    theme.spiking it is the spike.


    Every answer carries X-Request-Id.
  contact:
    name: Usertick support
    url: https://usertick.com/support
servers:
  - url: https://app.usertick.com/api/public/v1
    description: Production
security:
  - bearerAuth: []
  - apiKeyHeader: []
tags:
  - name: Account
  - name: Responses
  - name: Surveys
  - name: Metrics
  - name: Exports
  - name: Contacts
  - name: Email
  - name: Dashboards
  - name: Workflows
  - name: Support
  - name: Webhooks
paths:
  /workflows/options:
    get:
      tags:
        - Workflows
      summary: List the choices of a workflow step's input
      description: >-
        What one input of a workflow step can pick, as the workflow editor's
        picker lists it: channels, projects, people, issue types and fields of a
        connected tool, the organization's members (usertick.notify and
        usertick.assign, the user ids the step stores) or its webhooks
        (webhook.send, by name and host; an address or a secret is never shown).
        action and input are keys of GET /workflows/capabilities; an unknown
        one, or an input that isn't picked from a list, is 400 PUB-016-007.
        connectionId is required for a step of a connected tool; a connection of
        another organization, of another tool or of a kind the action doesn't
        run on, and any connection on a step that sends with none, is 404
        PUB-016-006. An input that depends on others of the step (a Jira issue
        type on its project) needs them in params: one that is missing is 400
        PUB-001-004 at params.{key}. A plan without workflows, or without the
        step, is 403 PLN-002-001. A tool's list is read at most once in 5
        minutes. Needs the member's permission to manage workflows.


        Scopes: integrations:read, workflows:draft.
      operationId: listWorkflowOptions
      parameters:
        - name: action
          in: query
          description: The step's action, such as slack.post_message.
          required: true
          schema:
            type: string
            maxLength: 100
        - name: input
          in: query
          description: The input to pick for, such as channelId.
          required: true
          schema:
            type: string
            maxLength: 64
        - name: connectionId
          in: query
          description: The connection the step sends with.
          required: false
          schema:
            type: string
            format: uuid
        - name: search
          in: query
          description: Part of a choice's name, at most 200 characters.
          required: false
          schema:
            type: string
            maxLength: 200
        - name: params
          in: query
          description: >-
            The step's other params the choice depends on, one query value each:
            params[projectKey]=WEB. At most 10, each at most 200 characters,
            named by an input of the action.
          required: false
          schema:
            type: object
            additionalProperties:
              type: string
              maxLength: 200
            maxProperties: 10
          style: deepObject
          explode: true
      responses:
        '200':
          description: The choices.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
            X-RateLimit-Limit:
              $ref: '#/components/headers/XRateLimitLimit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/XRateLimitRemaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/XRateLimitReset'
            X-RateLimit-Org-Limit:
              $ref: '#/components/headers/XRateLimitOrgLimit'
            X-RateLimit-Org-Remaining:
              $ref: '#/components/headers/XRateLimitOrgRemaining'
            X-RateLimit-Org-Reset:
              $ref: '#/components/headers/XRateLimitOrgReset'
            X-RateLimit-Window:
              $ref: '#/components/headers/XRateLimitWindow'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowOptions'
        '400':
          description: 'The request isn''t valid. Codes: PUB-001-004, PUB-016-007.'
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                PUB-001-004:
                  $ref: '#/components/examples/PUB-001-004'
                PUB-016-007:
                  $ref: '#/components/examples/PUB-016-007'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: >-
            The request was refused. Codes: APK-004-004, APK-004-005,
            APK-004-008, APK-004-009, AUTHZ-001-002, AUTHZ-007-001, PLN-002-001.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                APK-004-004:
                  $ref: '#/components/examples/APK-004-004'
                APK-004-005:
                  $ref: '#/components/examples/APK-004-005'
                APK-004-008:
                  $ref: '#/components/examples/APK-004-008'
                APK-004-009:
                  $ref: '#/components/examples/APK-004-009'
                AUTHZ-001-002:
                  $ref: '#/components/examples/AUTHZ-001-002'
                AUTHZ-007-001:
                  $ref: '#/components/examples/AUTHZ-007-001'
                PLN-002-001:
                  $ref: '#/components/examples/PLN-002-001'
        '404':
          description: 'The resource couldn''t be found. Codes: PUB-016-006.'
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                PUB-016-006:
                  $ref: '#/components/examples/PUB-016-006'
        '409':
          description: 'The request conflicts with the current state. Codes: CON-000-005.'
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                CON-000-005:
                  $ref: '#/components/examples/CON-000-005'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '502':
          description: 'The tool didn''t answer. Try again. Codes: CON-004-002.'
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                CON-004-002:
                  $ref: '#/components/examples/CON-004-002'
        '503':
          description: 'A data store didn''t respond. Try again. Codes: CON-000-004.'
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                CON-000-004:
                  $ref: '#/components/examples/CON-000-004'
components:
  headers:
    XRequestId:
      description: >-
        This answer's id (req_ and 32 hex characters), also in the logs. Quote
        it to support.
      schema:
        type: string
    XRateLimitLimit:
      description: The credential's requests per minute.
      schema:
        type: integer
    XRateLimitRemaining:
      description: What is left of it now.
      schema:
        type: integer
    XRateLimitReset:
      description: >-
        Seconds until the credential's budget is full again (the bucket refills
        continuously).
      schema:
        type: integer
    XRateLimitOrgLimit:
      description: Every credential of the organization together, per minute.
      schema:
        type: integer
    XRateLimitOrgRemaining:
      description: What is left of the organization's budget.
      schema:
        type: integer
    XRateLimitOrgReset:
      description: Seconds until the organization's budget is full again.
      schema:
        type: integer
    XRateLimitWindow:
      description: >-
        The window both budgets count over: 60s, since they are requests per
        minute.
      schema:
        type: string
    RetryAfter:
      description: >-
        Seconds to wait before trying again. On a 429 over a budget, the time
        the bucket takes to refill one request (1 second at 120 or 300 a
        minute); X-RateLimit-Reset says when the whole budget is back.
      schema:
        type: integer
  schemas:
    WorkflowOptions:
      type: object
      properties:
        action:
          type: string
        input:
          type: string
        options:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowOption'
          description: At most 200 choices, or 100 of Usertick's own.
        truncated:
          type: boolean
          description: More matched than the answer carries; a search narrows it.
        partial:
          type: boolean
          description: >-
            The tool holds more than Usertick reads from it, so a value past
            that can't be offered.
      required:
        - action
        - input
        - options
        - truncated
        - partial
      additionalProperties: false
      examples:
        - action: slack.post_message
          input: channelId
          options:
            - value: C02ABCD1234
              label: '#feedback'
              hint: null
          truncated: false
          partial: false
    Error:
      type: object
      properties:
        statusCode:
          type: integer
          description: The HTTP status, again.
        success:
          type: boolean
          description: Always false.
        code:
          type: string
          description: >-
            What went wrong, stable across versions (see x-error-codes). For
            invalid fields, the first field's code.
          examples:
            - PUB-001-001
        message:
          type:
            - string
            - 'null'
          description: The code's message in English (US); null for a code without one.
        data:
          description: Extra context for some errors; null otherwise.
        kind:
          type: string
          description: >-
            plan when the organization's plan refuses the request; left out
            otherwise.
          enum:
            - plan
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FieldError'
          description: >-
            Every invalid field, in the order of the request's parameters. Only
            on a 400 about fields.
      required:
        - statusCode
        - success
        - code
        - message
        - data
      description: >-
        Every error answer. Success answers are the plain resource or list
        instead.
      additionalProperties: false
      examples:
        - statusCode: 400
          success: false
          code: PUB-001-001
          message: The limit must be between 1 and 100.
          data: null
          errors:
            - field: limit
              code: PUB-001-001
              message: The limit must be between 1 and 100.
            - field: sort
              code: PUB-001-005
              message: The sort order must be asc or desc.
    WorkflowOption:
      type: object
      properties:
        value:
          type: string
          description: What the step's input stores.
        label:
          type: string
        hint:
          type:
            - string
            - 'null'
          description: What tells it apart, such as a team, a kind or an email address.
      required:
        - value
        - label
        - hint
      additionalProperties: false
    FieldError:
      type: object
      properties:
        field:
          type: string
          description: >-
            The query parameter, or the body property (camelCase, dotted when
            nested).
        code:
          type: string
        message:
          type:
            - string
            - 'null'
      required:
        - field
        - code
        - message
      additionalProperties: false
  examples:
    PUB-001-004:
      summary: This value isn't valid.
      value:
        statusCode: 400
        success: false
        code: PUB-001-004
        message: This value isn't valid.
        data: null
    PUB-016-007:
      summary: >-
        This isn't an action, or an input of it, that is picked from a list. GET
        /workflows/capabilities lists the actions and their inputs.
      value:
        statusCode: 400
        success: false
        code: PUB-016-007
        message: >-
          This isn't an action, or an input of it, that is picked from a list.
          GET /workflows/capabilities lists the actions and their inputs.
        data: null
    APK-004-004:
      summary: >-
        This API key or app doesn't have permission for this request. Grant it
        the required scope.
      value:
        statusCode: 403
        success: false
        code: APK-004-004
        message: >-
          This API key or app doesn't have permission for this request. Grant it
          the required scope.
        data: null
    APK-004-005:
      summary: >-
        Your plan doesn't include API keys. To use them, upgrade to Pro or
        higher.
      value:
        statusCode: 403
        success: false
        code: APK-004-005
        message: >-
          Your plan doesn't include API keys. To use them, upgrade to Pro or
          higher.
        data: null
    APK-004-008:
      summary: >-
        This organization's plan doesn't include apps that use the API, such as
        Zapier. To use them, contact Usertick sales to change the plan.
      value:
        statusCode: 403
        success: false
        code: APK-004-008
        message: >-
          This organization's plan doesn't include apps that use the API, such
          as Zapier. To use them, contact Usertick sales to change the plan.
        data: null
    APK-004-009:
      summary: >-
        This organization's plan doesn't include the MCP server. To use an AI
        assistant with Usertick, upgrade to Starter or higher.
      value:
        statusCode: 403
        success: false
        code: APK-004-009
        message: >-
          This organization's plan doesn't include the MCP server. To use an AI
          assistant with Usertick, upgrade to Starter or higher.
        data: null
    AUTHZ-001-002:
      summary: Your role doesn't have the required permission.
      value:
        statusCode: 403
        success: false
        code: AUTHZ-001-002
        message: Your role doesn't have the required permission.
        data: null
    AUTHZ-007-001:
      summary: Your role has access to selected surveys only, so this isn't available.
      value:
        statusCode: 403
        success: false
        code: AUTHZ-007-001
        message: >-
          Your role has access to selected surveys only, so this isn't
          available.
        data: null
    PLN-002-001:
      summary: Your plan doesn't include this feature. To use it, upgrade the plan.
      value:
        statusCode: 403
        success: false
        code: PLN-002-001
        message: Your plan doesn't include this feature. To use it, upgrade the plan.
        data: null
    PUB-016-006:
      summary: >-
        No connection of this step's tool has this ID. Use a connection GET
        /workflows/capabilities lists under tools, and leave connectionId out
        for a step that sends with no connection.
      value:
        statusCode: 404
        success: false
        code: PUB-016-006
        message: >-
          No connection of this step's tool has this ID. Use a connection GET
          /workflows/capabilities lists under tools, and leave connectionId out
          for a step that sends with no connection.
        data: null
    CON-000-005:
      summary: >-
        The tool no longer accepts this connection. Reconnect it, then try
        again.
      value:
        statusCode: 409
        success: false
        code: CON-000-005
        message: >-
          The tool no longer accepts this connection. Reconnect it, then try
          again.
        data: null
    CON-004-002:
      summary: The tool didn't return the list. Try again in a moment.
      value:
        statusCode: 502
        success: false
        code: CON-004-002
        message: The tool didn't return the list. Try again in a moment.
        data: null
    CON-000-004:
      summary: The connection's credentials couldn't be read. Try again in a moment.
      value:
        statusCode: 503
        success: false
        code: CON-000-004
        message: The connection's credentials couldn't be read. Try again in a moment.
        data: null
    APK-004-001:
      summary: Send an API key or an access token in the Authorization header.
      value:
        statusCode: 401
        success: false
        code: APK-004-001
        message: Send an API key or an access token in the Authorization header.
        data: null
    APK-004-002:
      summary: >-
        The API key or access token is invalid, expired or revoked. Connect
        again with a valid one.
      value:
        statusCode: 401
        success: false
        code: APK-004-002
        message: >-
          The API key or access token is invalid, expired or revoked. Connect
          again with a valid one.
        data: null
    APK-004-007:
      summary: >-
        This credential is for another server. The MCP server takes only the
        access tokens an assistant gets when it signs in, and the REST API takes
        API keys and app tokens.
      value:
        statusCode: 401
        success: false
        code: APK-004-007
        message: >-
          This credential is for another server. The MCP server takes only the
          access tokens an assistant gets when it signs in, and the REST API
          takes API keys and app tokens.
        data: null
    APK-004-003:
      summary: This API key or app sent too many requests. Wait a minute and try again.
      value:
        statusCode: 429
        success: false
        code: APK-004-003
        message: >-
          This API key or app sent too many requests. Wait a minute and try
          again.
        data: null
    APK-004-006:
      summary: >-
        Your organization sent too many API requests. Wait a minute and try
        again.
      value:
        statusCode: 429
        success: false
        code: APK-004-006
        message: >-
          Your organization sent too many API requests. Wait a minute and try
          again.
        data: null
    GEN-429-001:
      summary: Too many requests were sent. Wait a minute and try again.
      value:
        statusCode: 429
        success: false
        code: GEN-429-001
        message: Too many requests were sent. Wait a minute and try again.
        data: null
  responses:
    Unauthorized:
      description: >-
        No credential, one that is invalid, expired or revoked, or a token an AI
        assistant got for the MCP server. Codes: APK-004-001, APK-004-002,
        APK-004-007.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            APK-004-001:
              $ref: '#/components/examples/APK-004-001'
            APK-004-002:
              $ref: '#/components/examples/APK-004-002'
            APK-004-007:
              $ref: '#/components/examples/APK-004-007'
    TooManyRequests:
      description: >-
        Over the credential's or the organization's budget, or over the
        per-address limit that is checked before the credential (GEN-429-001,
        without X-RateLimit headers). Codes: APK-004-003, APK-004-006,
        GEN-429-001.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            APK-004-003:
              $ref: '#/components/examples/APK-004-003'
            APK-004-006:
              $ref: '#/components/examples/APK-004-006'
            GEN-429-001:
              $ref: '#/components/examples/GEN-429-001'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API key (utk_live_...) or an app's OAuth access token (uto_...).
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
      description: The API key, for clients that cannot send Authorization.

````

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