> ## 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.

# List account connection options

> Requires tools:read. Every app Composio hosts the sign-in for (connect.kind oauth) and every app that takes a credential the customer supplies (connect.kind credentials), with no setup by Yappr. Apps that need an OAuth app registered by Yappr are not listed, and neither are apps with no dated version yet (Yappr cannot use their actions) or with no actions at all. An app Yappr already has set up but the catalogue no longer carries (for example one with no dated version yet) is still listed without connect.kind, because the list does not say how it connects, so ask for it with ?toolkit={slug}. With ?toolkit={slug} it returns that one app, and for a credentials app the fields it takes, as Composio names them (label and help text are Composio's); an app with no dated version is still described there, and only POST /tool-connections refuses it. This readiness selection is distinct from GET /tool-apps discovery and cannot authenticate or execute an app.

Requires `tools:read`. Returns `{ "data": [{ "slug": "gmail", "name": "Gmail", "connect": { "kind": "oauth" } }] }`: every app whose sign-in Composio hosts (`oauth`) and every app that takes a credential you supply, such as an API key or token (`credentials`). Connecting one needs no setup from us; its authentication configuration is created the first time it is connected. An app switched off for this deployment is never reopened.

An app Yappr already has set up that the catalogue no longer carries (for example one with no dated version yet) is still listed, without `connect.kind`: the list does not say how it connects, so ask for it with `?toolkit={slug}` rather than assume a sign-in.

Add `?toolkit={slug}` for one app. For a `credentials` app it also returns `connect.fields`: the exact fields to send, each with `name`, `label`, `help` and `required`, as Composio names them. Enter them as password-type inputs.

```bash theme={null}
curl https://api.goyappr.com/tool-apps/connection-options \
  -H "Authorization: Bearer YOUR_API_KEY"
```

This request only reads configured app metadata. It does not authenticate accounts, execute actions, or expose project/auth-configuration identifiers.

Send the `slug` from this list verbatim to [`POST /tool-connections`](https://docs.goyappr.com/api-reference/tool-connections/connect). An app that is not listed is one of three: OAuth-only with no Composio-hosted sign-in (it needs a registered OAuth app and answers `409 CONNECTION_APP_NEEDS_CREDENTIALS` with that hint); an app with no dated version yet, so none of its actions can be used (it answers `409 CONNECTION_APP_NO_DATED_VERSION`); or an app with no actions at all, which connects but has nothing to use. `?toolkit=` still describes an app with no dated version and its fields: only `POST /tool-connections` refuses it. The list refreshes once a day.

This connection-readiness list is distinct from the curated [app discovery catalog](https://docs.goyappr.com/api-reference/tools/apps.md) at `GET /tool-apps`.


## OpenAPI

````yaml GET /tool-apps/connection-options
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-apps/connection-options:
    get:
      tags:
        - Connected accounts
      summary: List apps that can be connected
      description: >-
        Requires tools:read. Every app Composio hosts the sign-in for
        (connect.kind oauth) and every app that takes a credential the customer
        supplies (connect.kind credentials), with no setup by Yappr. Apps that
        need an OAuth app registered by Yappr are not listed, and neither are
        apps with no dated version yet (Yappr cannot use their actions) or with
        no actions at all. An app Yappr already has set up but the catalogue no
        longer carries (for example one with no dated version yet) is still
        listed without connect.kind, because the list does not say how it
        connects, so ask for it with ?toolkit={slug}. With ?toolkit={slug} it
        returns that one app, and for a credentials app the fields it takes, as
        Composio names them (label and help text are Composio's); an app with no
        dated version is still described there, and only POST /tool-connections
        refuses it. This readiness selection is distinct from GET /tool-apps
        discovery and cannot authenticate or execute an app.
      operationId: listToolConnectionOptions
      parameters:
        - name: toolkit
          in: query
          required: false
          description: >-
            One app slug, as this list gives it. Returns that app with
            connect.fields.
          schema:
            type: string
            pattern: ^[a-z0-9_]{1,100}$
      responses:
        '200':
          description: >-
            Apps with an enabled server-managed authentication configuration. An
            empty data array means nothing in this workspace can be connected
            yet, and every POST /tool-connections will answer 409.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        slug:
                          type: string
                        name:
                          type: string
                        connect:
                          type: object
                          properties:
                            kind:
                              type: string
                              enum:
                                - oauth
                                - credentials
                              description: >-
                                oauth - a person signs in on a hosted page.
                                credentials - the customer supplies the fields
                                below. Absent for an app that is listed but
                                whose way of connecting is not known from the
                                list; ?toolkit={slug} says.
                            fields:
                              type: array
                              description: >-
                                Only with ?toolkit=. Entered as password-type
                                inputs.
                              items:
                                type: object
                                properties:
                                  name:
                                    type: string
                                  label:
                                    type: string
                                  help:
                                    type: string
                                  required:
                                    type: boolean
        '401':
          description: MISSING_KEY, INVALID_KEY or EXPIRED_KEY - the key was not accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            INSUFFICIENT_SCOPE - the key does not hold tools:read, and the
            message names it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Catalog unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    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
  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.