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

# What a connected app can do

> Requires tool-connections:read. Every action of the account's app at the version its actions are built at, the default set first in its own order, then the rest. default marks the actions an agent gets when the app is added without a list (a curated set for the most used apps, otherwise the provider's important actions without destructive or administrative ones, at most 12). ready says the action's tool is built for this account's current sign-in. name_he is a Hebrew name and description_he a one-line Hebrew description where one is curated. inputs says how each input is set (configuration first, each with its default source), and bindable whether the account's tool for the action takes an agent's own calendar yet (false on a tool built before that; the first write that fixes a calendar rebuilds it). Takes no query parameters.


Requires `tool-connections:read`. Every action of the account's app, the defaults first. `default: true` marks the actions an agent gets when you add the app without naming actions; `ready: true` means the action is prepared for this account and an agent can be given it instantly.

```bash theme={null}
curl https://api.goyappr.com/tool-connections/CONNECTION_ID/actions \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json theme={null}
{
  "connection": { "id": "0b8f4c2e-…", "app": "googlecalendar", "app_name": "Google Calendar", "label": "Clinic calendar", "state": "ready" },
  "version": "20260902_00",
  "truncated": false,
  "defaults_final": true,
  "prepared": true,
  "data": [
    { "action": "GOOGLECALENDAR_FIND_FREE_SLOTS", "name": "Find free time", "name_he": "חיפוש זמן פנוי", "description": "Check when the calendar is busy between two times, to find free time.", "description_he": "בודק מתי היומן פנוי בטווח שעות", "effect": "read", "default": true, "ready": true, "bindable": true,
      "inputs": [
        { "name": "items", "label": "Calendar", "label_he": "יומן", "role": "config", "resource": "calendar", "shape": "one_item_array", "required": true, "default_source": { "kind": "literal", "value": ["primary"] } },
        { "name": "time_min", "label": "From", "label_he": "משעה", "role": "conversation", "required": true, "default_source": { "kind": "model", "path": "/time_min" } }
      ] },
    { "action": "GOOGLECALENDAR_EVENTS_LIST", "name": "List events", "effect": "read", "default": true, "ready": true, "...": "..." }
  ]
}
```

A large app's action list is read in the background the first time it is asked for. Until it is all read, the answer has `"truncated": true` and lists the defaults plus what has been read so far; ask again in a few seconds for the rest. `truncated` also stays `true` for good on a list that stops for good: an app with over a thousand actions, or a part of its list the catalogue cannot serve.

`defaults_final` says whether the actions marked `default` are the ones an agent gets with `"actions": "default"` right now. It is always `true` for a curated app (Google Calendar, Gmail, HubSpot and the other top apps), for an app whose list was read before, and for a list that stops for good. It is `false` only while another app's list is read the first time: its defaults are chosen over the whole list, so they may still change, and giving the app to an agent with `"actions": "default"` answers `503` with `Retry-After` until it is `true` (named actions still go). If even the defaults are not read yet, the answer is `503 WORKFLOW_TOOL_CONTROL_UNAVAILABLE` with `Retry-After`: send the same request again.

`inputs` says how each input is set, configuration first: `role: "config"` is a setting you fix once (which calendar; `resource: "calendar"` has a picker in [`GET /tool-connections/{id}/options/calendars`](https://docs.goyappr.com/api-reference/tool-connections/options)), `role: "conversation"` is filled from the call, by the agent unless you say otherwise. `default_source` is what an agent gets when you do not set it. `description_he` is a one-line Hebrew description for the curated actions. `bindable: false` means the account's tool for the action was built before it could take an agent's own calendar; the first write that fixes one rebuilds it.

`effect` is `read`, `write` or `delete`. `resource` names what the agent's instructions should say for apps that need one (`sheet`, `board`, `channel`). Give the agent the app with [`POST /agents/{id}/integrations`](https://docs.goyappr.com/api-reference/agents/integrations-add).


## OpenAPI

````yaml GET /tool-connections/{id}/actions
openapi: 3.1.0
info:
  title: Yappr API
  description: >
    Create and manage AI voice agents, purchase phone numbers, configure tools,
    and initiate calls — all via REST.
  version: 1.0.0
  contact:
    url: https://goyappr.com
servers:
  - url: https://api.goyappr.com
    description: Production
security:
  - apiKey: []
paths:
  /tool-connections/{id}/actions:
    get:
      tags:
        - Connected accounts
      summary: What a connected app can do for agents
      description: >
        Requires tool-connections:read. Every action of the account's app at the
        version its actions are built at, the default set first in its own
        order, then the rest. default marks the actions an agent gets when the
        app is added without a list (a curated set for the most used apps,
        otherwise the provider's important actions without destructive or
        administrative ones, at most 12). ready says the action's tool is built
        for this account's current sign-in. name_he is a Hebrew name and
        description_he a one-line Hebrew description where one is curated.
        inputs says how each input is set (configuration first, each with its
        default source), and bindable whether the account's tool for the action
        takes an agent's own calendar yet (false on a tool built before that;
        the first write that fixes a calendar rebuilds it). Takes no query
        parameters.
      operationId: listToolConnectionActions
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The account and its actions.
          content:
            application/json:
              schema:
                type: object
                properties:
                  connection:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      app:
                        type: string
                        example: googlecalendar
                      app_name:
                        type: string
                        example: Google Calendar
                      app_name_he:
                        type:
                          - string
                          - 'null'
                      label:
                        type: string
                        example: Clinic calendar
                      state:
                        type: string
                        example: ready
                  version:
                    type: string
                    example: 20260902_00
                  truncated:
                    type: boolean
                    description: >-
                      Not every action of the app is listed: its action list is
                      still being read (a large app, the first time it is asked
                      for), or the list stops there for good (over a thousand
                      actions, or a part the catalogue cannot serve). Ask again
                      in a few seconds for the rest. Whether the default set is
                      settled is defaults_final, not this.
                  defaults_final:
                    type: boolean
                    description: >-
                      The actions marked default are the ones an agent gets with
                      actions "default", now. Always true for a curated app
                      (Google Calendar, Gmail, HubSpot...) and for any app whose
                      list was read before; false only while another app's list
                      is read the first time, when giving it to an agent with
                      actions "default" answers 503 with Retry-After (named
                      actions still go). A list that stops for good (truncated
                      stays true) has final defaults.
                  resource:
                    type:
                      - string
                      - 'null'
                    description: >-
                      What the agent's instructions should name for this app
                      (sheet, board, channel), when it needs one.
                  prepared:
                    type: boolean
                    description: Every default action is ready.
                  data:
                    type: array
                    items:
                      allOf:
                        - $ref: '#/components/schemas/ConnectionAction'
                        - type: object
                          properties:
                            ready:
                              type: boolean
                            bindable:
                              type: boolean
        '400':
          description: 'TOOL_CONNECTIONS_QUERY_INVALID: a query parameter was sent.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            INSUFFICIENT_SCOPE, or WORKFLOW_ENVIRONMENT_MISMATCH (the account is
            connected on another plane).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: TOOL_CONNECTION_NOT_FOUND.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: >-
            WORKFLOW_TOOL_CONTROL_UNAVAILABLE. With Retry-After when the app's
            default actions are still being read the first time: send the same
            request again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ConnectionAction:
      type: object
      description: One thing a connected app can do on calls.
      required:
        - action
        - name
        - description
        - effect
        - default
      properties:
        action:
          type: string
          example: GOOGLECALENDAR_FIND_FREE_SLOTS
        name:
          type: string
          example: Find free time
        name_he:
          type:
            - string
            - 'null'
          example: חיפוש זמן פנוי
        description:
          type: string
          description: One line for a person.
        effect:
          type: string
          enum:
            - read
            - write
            - delete
        default:
          type: boolean
          description: On when the app is added without a list of actions.
        description_he:
          type:
            - string
            - 'null'
          description: One spoken-Hebrew line, for a curated action.
          example: בודק מתי היומן פנוי בטווח שעות
        inputs:
          type: array
          description: >-
            How each input is set, configuration inputs (which calendar) first.
            Absent for an action the catalogue has no word on.
          items:
            $ref: '#/components/schemas/ActionInputSpec'
    Error:
      type: object
      required:
        - error
        - code
      description: >
        Every error response - the secret-key API and the browser data plane
        alike - carries a

        human-readable `error` and a stable machine `code`, and a refusal that
        names what is

        wrong with the request carries `issues[]` too. Branch on `code`, never
        on the `error`

        text. A refusal that names nothing more specific carries the code its
        status means:

        `BAD_REQUEST` (400), `UNAUTHORIZED` (401, the browser data plane; the
        secret-key API

        answers `MISSING_KEY`, `INVALID_KEY` or `EXPIRED_KEY`), `BILLING_ERROR`
        (402),

        `FORBIDDEN` (403), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405),
        `CONFLICT` (409),

        `GONE` (410), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415),

        `UNPROCESSABLE_REQUEST` (422), `RATE_LIMIT` (429), `INTERNAL_ERROR`
        (500),

        `UPSTREAM_ERROR` (502), `SERVICE_UNAVAILABLE` (503), `UPSTREAM_TIMEOUT`
        (504). Some

        refusals add members of their own beside these (a call request's
        `status`, a workflow's

        `current_version`); the operation says which.
      properties:
        error:
          type: string
          description: The refusal, in one sentence for a person. Its wording may change.
        code:
          type: string
          description: The stable code to branch on.
        issues:
          type: array
          description: >
            Each thing at fault, on a 400 or 422 that names them: every query
            parameter or body field, not just the first. `path` is the
            parameter's name or the field's location.
          items:
            type: object
            required:
              - code
              - message
            properties:
              code:
                type: string
                description: >-
                  query_param_unknown, query_param_repeated, query_param_blank,
                  query_param_invalid, field_unknown, field_required,
                  field_invalid, or the route's own word.
              path:
                type: string
              message:
                type: string
    ActionInputSpec:
      type: object
      description: >
        One input of an action. role config is a setting of the agent (which
        calendar, which sheet), usually Fixed; role conversation is filled from
        the call, usually by the agent (AI). default_source is what a new
        binding gets when you do not set it - null for a configuration ID with
        no default (a spreadsheet, a channel, a board): the agent cannot guess
        one, so you set it.
      required:
        - name
        - label
        - role
        - required
        - default_source
      properties:
        name:
          type: string
          example: items
        label:
          type: string
          example: Calendar
        label_he:
          type: string
          example: יומן
        role:
          type: string
          enum:
            - config
            - conversation
        resource:
          type:
            - string
            - 'null'
          enum:
            - calendar
            - sheet
            - channel
            - board
            - event_type
            - null
          description: >-
            Set when the account can list the choices: GET
            /tool-connections/{id}/options/calendars for calendar.
        shape:
          type: string
          enum:
            - value
            - one_item_array
          description: >-
            one_item_array: the tool takes a list, and you fix it to a list of
            one id (["primary"]).
        required:
          type: boolean
        default_source:
          oneOf:
            - $ref: '#/components/schemas/ActionInputSource'
            - type: 'null'
    ActionInputSource:
      type: object
      description: >
        Where an action input's value comes from - the workflow's own input
        sources (see the workflow document's bindings). Fixed is {"kind":
        "literal", "value": ...}: the agent never sees it, and it is sent as is
        (a literal may be one call reference such as "{{call.caller_number}}",
        or a relative time such as
        "{{call.time.start_of_today.Asia/Jerusalem}}", resolved when the step
        runs). AI is {"kind": "model", "path": "/<input>"}: the agent fills it
        from the conversation. Choose from a list is a model source with
        options: the agent picks one of 1-20 {value, label} choices by its
        label. From the call: request (a call request field), stored (saved
        context) or step (an earlier step's result), each with an optional
        fallback {"value": ...}. Fixed and from-the-call values are left out of
        what the agent is asked for, and a value it sends for them anyway is
        ignored.
      required:
        - kind
      properties:
        kind:
          type: string
          enum:
            - literal
            - model
            - request
            - stored
            - step
        value:
          description: 'literal: the fixed value.'
        path:
          type: string
          description: >-
            model: "/<input>". request, stored, step: a pointer into the value
            read, such as /phone.
        options:
          type: array
          minItems: 1
          maxItems: 20
          description: >-
            model only: the choices the agent picks from, each value listed
            once. Text inputs (or a list of text) only.
          items:
            type: object
            additionalProperties: false
            required:
              - value
              - label
            properties:
              value:
                type: string
                minLength: 1
                maxLength: 500
              label:
                type: string
                minLength: 1
                maxLength: 120
        scope:
          type: string
          enum:
            - before
            - during
          description: 'step: a before-call step or an action step.'
        step_id:
          type: string
        fallback:
          type: object
          required:
            - value
          properties:
            value: {}
          description: Sent when the value read is missing.
      example:
        kind: literal
        value:
          - c_1a2b3c@group.calendar.google.com
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Your Yappr API key (e.g. `ypr_live_...`). Generate one in the dashboard
        under **Settings → API Keys**. No key is `401 MISSING_KEY`; a key that
        is not one of ours, or is revoked, is `401 INVALID_KEY`; an expired one
        is `401 EXPIRED_KEY`. A valid key without the scope an operation needs
        is `403 INSUFFICIENT_SCOPE` on every operation, and the message names
        the scope. Every response, a 401 included, carries X-RateLimit-Limit,
        X-RateLimit-Remaining and X-RateLimit-Reset: the budget is 60 requests a
        minute per API key. Every 429, whatever its code, carries Retry-After
        (whole seconds, never zero): the per-key budget's `RATE_LIMIT` asks for
        what is left of the minute, a route's daily cap (`RATE_LIMITED`) for the
        time until that cap resets. All four headers are listed in
        Access-Control-Expose-Headers, so a browser can read them. A path the
        API does not serve (an unknown sub-path, an id left empty) is `404
        ROUTE_NOT_FOUND`, and a method a served path does not take is `405
        METHOD_NOT_ALLOWED` with an `Allow` header; both are answered before any
        scope check, and nothing is read or changed. A trailing slash is ignored
        where it cannot be an id left empty (`POST /calls/` is `POST /calls`)
        and refused where it can (`GET /calls/`). A doubled slash inside a path
        is merged into one before the request reaches the API (`GET //calls` is
        `GET /calls`).

````

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