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

# Get Link Provider Guide

> Get the credential guide Link shows for one provider, so your own connect screen can show the same instructions.

Authenticate with your publishable key. The guide is returned in one locale.

Providers your users can't connect still have guides, including `blocked` and `unconfigured` providers and beta providers reported as `not_supported`. Check `eligibility` with [List Link Providers](https://docs.withterminal.com/api-reference/link/list-link-providers.md) before offering a provider.

An unrecognized provider code (including unsupported catalog codes) returns 400. A recognized provider that is not shown in Link or has no guide returns 404.


## OpenAPI

````yaml link.openapi.json GET /link/guides/{provider}
openapi: 3.1.0
info:
  title: Terminal Link API
  version: '1.0'
  description: >-
    Endpoints for building your own Terminal Link experience. Authenticate with
    your publishable key.
servers:
  - url: https://api.withterminal.com
    description: Production
  - url: https://api.sandbox.withterminal.com
    description: Sandbox
security:
  - PublishableKey: []
paths:
  /link/guides/{provider}:
    get:
      tags:
        - Link
      summary: Get Link Provider Guide
      description: >-
        Get the credential guide Link shows for one provider, so your own
        connect screen can show the same instructions.

        Authenticate with your publishable key. The guide is returned in one
        locale.


        Providers your users can't connect still have guides, including
        `blocked` and `unconfigured` providers and beta providers reported as
        `not_supported`. Check `eligibility` with [List Link
        Providers](/api-reference/link/list-link-providers) before offering a
        provider.


        An unrecognized provider code (including unsupported catalog codes)
        returns 400. A recognized provider that is not shown in Link or has no
        guide returns 404.
      operationId: getLinkProviderGuide
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            title: Provider Code
            type: string
            example: geotab
            description: >-
              Every provider has a unique code to identify it across Terminal's
              system. You can find each provider's code under [provider
              details](/providers).
          description: Provider code to load a guide for.
        - name: locale
          in: query
          required: false
          schema:
            type: string
            enum:
              - en
              - fr
              - es
          description: >-
            Guide locale to return. Defaults to `en`. A locale other than `en`,
            `fr`, or `es` returns 400.
        - name: templateId
          in: query
          required: false
          schema:
            type: string
          description: >-
            Optional [Consent Template](/guides/consent-templates) ID. Omit it,
            or pass `default`, to use your default template. An unknown template
            ID returns 404. Passing a template does not filter out `blocked`
            providers.
      responses:
        '200':
          description: The provider guide for one locale.
          content:
            application/json:
              schema:
                title: LinkProviderGuide
                description: >-
                  One locale of a provider credential guide, for a headless
                  connect screen.
                allOf:
                  - title: ProviderGuide
                    type: object
                    properties:
                      heading:
                        type: string
                        example: How do I find my API key?
                        description: A heading for the authentication guide.
                      markdown:
                        type: string
                        example: 1. First item in a numbered list
                        description: The markdown string for the authentication guide.
                    required:
                      - heading
                      - markdown
                  - type: object
                    properties:
                      code:
                        description: >-
                          Provider code the guide belongs to, matching code on
                          the provider catalog.
                        title: Provider Code
                        type: string
                        example: geotab
                      locale:
                        type: string
                        enum:
                          - en
                          - fr
                          - es
                        description: >-
                          Locale of heading and markdown. More locales may be
                          added; clients should accept values they do not
                          recognize.
                      presentation:
                        type: object
                        description: >-
                          Optional presentation preferences for rendering the
                          guide in Link.
                        properties:
                          size:
                            type: string
                            enum:
                              - expanded
                            description: >-
                              Requests a larger Link modal when this guide is
                              shown. More sizes may be added; clients should
                              ignore values they do not recognize.
                    required:
                      - code
                      - locale
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - bad_request
                  message:
                    type: string
                    example: Invalid request body
                  detail:
                    type: array
                    items:
                      title: ErrorPathDetail
                      type: object
                      properties:
                        message:
                          type: string
                          example: '''vehicleId'' property must be a valid ulid'
                        path:
                          type: string
                          example: '{requestQuery}.vehicleId'
                        suggestion:
                          type: string
                          example: >-
                            Please ensure you submit a valid 'vehicleId'
                            property
                        context:
                          type: object
                      required:
                        - message
                        - path
                required:
                  - code
                  - message
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - unauthorized
                  message:
                    type: string
                    example: Unauthorized Request
                  detail:
                    type: string
                    example: Please ensure you have a valid API key
                required:
                  - code
                  - message
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - forbidden
                  message:
                    type: string
                    example: Forbidden Request
                  detail:
                    type: string
                    example: >-
                      Please ensure the connection token matches the resource
                      you are attempting to access.
                required:
                  - code
                  - message
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - not_found
                  message:
                    type: string
                    example: Resource not found
                  detail:
                    type: string
                    example: 'Could not find resource with ID: 2342342'
                required:
                  - code
                  - message
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    enum:
                      - internal_server_error
                  message:
                    type: string
                    example: Internal Server Error
                  detail:
                    type: string
                    example: Something went wrong
                required:
                  - code
                  - message
components:
  securitySchemes:
    PublishableKey:
      type: apiKey
      in: header
      name: publishable-key
      description: >-
        Your application publishable key, the same key you pass to Terminal
        Link. It is safe to use in browser code.

````

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