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

# Get a provider

> Returns a specific provider

<ResponseExample>
  ```json Example Response theme={null}
  {
    "data": {
      "name": "hubspot",
      "logo_url": "https://app.nango.dev/images/template-logos/hubspot.svg",
      "display_name": "HubSpot",
      "categories": ["marketing","support","crm"],
      "auth_mode": "OAUTH2",
      "authorization_url": "https://app.hubspot.com/oauth/authorize",
      "token_url": "https://api.hubapi.com/oauth/v1/token",
      "connection_configuration": ["portalId"],
      "post_connection_script": "hubspotPostConnection",
      "webhook_routing_script": "hubspotWebhookRouting",
      "proxy": {
        "base_url": "https://api.hubapi.com",
        "decompress": true,
        "paginate": {
          "type": "cursor",
          "cursor_path_in_response": "paging.next.after",
          "limit_name_in_request": "limit",
          "cursor_name_in_request": "after",
          "response_path": "results"
        }
      },
      "docs": "https://nango.dev/docs/api-integrations/hubspot"
    }
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /providers/{provider}
openapi: 3.1.0
info:
  title: Nango API
  description: Nango API specs used to authorize & sync data with external APIs.
  version: 1.0.0
servers:
  - url: https://api.nango.dev
    description: Production server
  - url: http://localhost:3003
    description: Local server
security:
  - bearerAuth: []
externalDocs:
  url: https://nango.dev/docs/reference/backend/http-api/authentication
paths:
  /providers/{provider}:
    get:
      summary: Get a provider
      description: Returns a specific provider
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            type: string
          description: The provider name
      responses:
        '200':
          description: Successfully returned a specific provider
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/Provider'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Provider:
      anyOf:
        - $ref: '#/components/schemas/BaseProvider'
          title: Default
        - $ref: '#/components/schemas/ProviderOAuth1'
          title: Oauth1
        - $ref: '#/components/schemas/ProviderOAuth2'
          title: Oauth2
    BaseProvider:
      properties:
        name:
          type: string
        display_name:
          type: string
        auth_mode:
          type: string
          enum:
            - OAUTH1
            - OAUTH2
            - OAUTH2_CC
            - BASIC
            - API_KEY
            - APP_STORE
            - CUSTOM
            - APP
            - NONE
            - TBA
            - JWT
            - BILL
            - TWO_STEP
            - SIGNATURE
            - INSTALL_PLUGIN
        proxy:
          properties:
            base_url:
              type: string
            headers:
              type: object
            query:
              properties:
                api_key:
                  type: string
              required:
                - api_key
              additionalProperties: false
              type: object
            retry:
              type: object
              properties:
                at:
                  type: string
                after:
                  type: string
            decompress:
              type: boolean
            paginate:
              anyOf: []
            verification:
              properties:
                method:
                  type: string
                endpoint:
                  type: string
                base_url_override:
                  type: string
                headers:
                  type: object
              required:
                - method
                - endpoint
              additionalProperties: false
              type: object
          required:
            - base_url
          additionalProperties: false
          type: object
        authorization_url:
          type: string
        authorization_url_encode:
          type: boolean
        access_token_url:
          type: string
        token_url_encode:
          type: boolean
        authorization_params:
          type: object
        scope_separator:
          type: string
        default_scopes:
          type: array
          items:
            type: string
        token_url:
          anyOf:
            - type: string
            - $ref: '#/components/schemas/TokenUrlObject'
        token_params:
          type: object
        authorization_url_replacements:
          type: object
        authorization_url_fragment:
          type: string
        redirect_uri_metadata:
          type: array
          items:
            type: string
        token_response_metadata:
          type: array
          items:
            type: string
        docs:
          type: string
        token_expiration_buffer:
          type: number
        webhook_routing_script:
          type: string
        webhook_user_defined_secret:
          type: boolean
        post_connection_script:
          type: string
        pre_connection_deletion_script:
          type: string
        categories:
          type: array
          items:
            type: string
        connection_configuration:
          type: array
          items:
            type: string
        connection_config:
          $ref: '#/components/schemas/SimplifiedJSONSchema'
        credentials:
          type: object
          properties:
            apiKey:
              $ref: '#/components/schemas/SimplifiedJSONSchema'
      required:
        - auth_mode
        - name
        - display_name
        - docs
      additionalProperties: false
      type: object
    ProviderOAuth1:
      properties:
        auth_mode:
          enum:
            - OAUTH1
          type: string
        request_url:
          type: string
        request_params:
          type: object
        request_http_method:
          enum:
            - GET
            - PUT
            - POST
          type: string
        token_http_method:
          enum:
            - GET
            - PUT
            - POST
          type: string
        signature_method:
          enum:
            - HMAC-SHA1
            - RSA-SHA1
            - PLAINTEXT
          type: string
      required:
        - auth_mode
        - request_url
        - signature_method
      additionalProperties: false
      type: object
    ProviderOAuth2:
      properties:
        auth_mode:
          enum:
            - OAUTH2
            - CUSTOM
          type: string
        token_params:
          properties:
            grant_type:
              enum:
                - authorization_code
                - client_credentials
              type: string
          additionalProperties: false
          type: object
        disable_pkce:
          type: boolean
        refresh_params:
          properties:
            grant_type:
              enum:
                - refresh_token
              type: string
          required:
            - grant_type
          additionalProperties: false
          type: object
        authorization_method:
          type: string
          enum:
            - body
            - header
        body_format:
          type: string
          enum:
            - form
            - json
        refresh_url:
          type: string
        expires_in_unit:
          enum:
            - milliseconds
          type: string
        token_request_auth_method:
          enum:
            - basic
            - custom
          type: string
      required:
        - auth_mode
      additionalProperties: false
      type: object
    StdError:
      type: object
      additionalProperties: false
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
          properties:
            code:
              type: string
            message:
              type: string
            errors:
              type: array
              items:
                type: object
    TokenUrlObject:
      properties:
        OAUTH1:
          type: string
        OAUTH2:
          type: string
        OAUTH2CC:
          type: string
        BASIC:
          type: string
        API_KEY:
          type: string
        APP_STORE:
          type: string
        CUSTOM:
          type: string
        APP:
          type: string
        NONE:
          type: string
      additionalProperties: false
      type: object
    SimplifiedJSONSchema:
      type: object
      additionalProperties: false
      required:
        - type
        - title
        - description
      properties:
        type:
          type: string
          enum:
            - string
        title:
          type: string
        description:
          type: string
        example:
          type: string
        pattern:
          type: string
        format:
          type: string
  responses:
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StdError'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StdError'
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/StdError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: The secret key from your Nango environment.

````