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

# Proxy a request to a provider

> Proxy a read-only request to an external API through a connected integration



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/orgs/{orgSlug}/connected-services/provider/{provider}/proxy
openapi: 3.0.3
info:
  title: Tolmo API
  version: 1.0.0
  description: >-
    The Tolmo REST API. Every endpoint is scoped to one organization and
    authenticated with an API token.
servers:
  - url: https://api.tolmo.com
    description: Production
security:
  - bearerAuth: []
paths:
  /api/v1/orgs/{orgSlug}/connected-services/provider/{provider}/proxy:
    post:
      tags:
        - connected-services
      summary: Proxy a request to a provider
      description: >-
        Proxy a read-only request to an external API through a connected
        integration
      operationId: proxyConnectedService
      parameters:
        - schema:
            type: string
          in: query
          name: integrationId
          required: false
        - schema:
            type: string
          in: path
          name: orgSlug
          required: true
        - schema:
            type: string
          in: path
          name: provider
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                method:
                  type: string
                  enum:
                    - GET
                path:
                  type: string
                query:
                  type: object
                  additionalProperties:
                    anyOf:
                      - type: string
                      - type: array
                        items:
                          type: string
                graphql:
                  type: object
                  properties:
                    query:
                      type: string
                    variables:
                      type: object
                      additionalProperties: {}
                  required:
                    - query
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                  body: {}
                  metadata:
                    type: object
                    properties:
                      provider:
                        type: string
                      integrationId:
                        type: string
                      executionTimeMs:
                        type: number
                      truncated:
                        type: boolean
                    required:
                      - provider
                      - integrationId
                      - executionTimeMs
                    additionalProperties: false
                required:
                  - status
                  - body
                  - metadata
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
components:
  schemas:
    HttpError:
      type: object
      properties:
        statusCode:
          type: number
        code:
          type: string
        error:
          type: string
        message:
          type: string
      title: HttpError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Tolmo API token, sent as `Authorization: Bearer <token>`. Either a
        user token (`usr_tok.*`, minted by `tolmo auth login`, scoped to your
        own permissions) or an org API token created in the Tolmo app, for CI
        and automation.

````