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

# Get pathway details

> Retrieves a specific pathway by ID along with the cleartalk API key



## OpenAPI

````yaml get /agency/pathway/{id}
openapi: 3.0.0
info:
  title: ClearTalk API
  description: The ClearTalk API Documentation
  version: '1.0'
  contact:
    name: Developer Support
    email: devsupport@cleartalk.ai
servers:
  - url: https://api.cleartalk.ai
    description: ClearTalk AI API Server
security: []
tags: []
paths:
  /agency/pathway/{id}:
    get:
      tags:
        - Pathway
      summary: Get pathway details
      description: Retrieves a specific pathway by ID along with the cleartalk API key
      operationId: PathwayController_getPathway
      parameters:
        - name: id
          required: true
          in: path
          description: Pathway ID
          schema:
            type: number
            example: 1
      responses:
        '200':
          description: Returns the pathway details and API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PathwayDetailsDto'
        '401':
          description: Unauthorized access
        '404':
          description: Pathway not found
      security:
        - apiKey: []
components:
  schemas:
    PathwayDetailsDto:
      type: object
      properties:
        apiKey:
          type: object
          example: cleartalk_api_key_123
          nullable: true
        pathwayId:
          type: string
          example: path_123abc
        name:
          type: string
          example: Sales Qualification Pathway
        description:
          type: string
          example: A pathway designed to qualify sales leads
        orgId:
          type: string
          example: 123-456-789
        userId:
          type: number
          example: 1
      required:
        - apiKey
        - pathwayId
        - name
        - description
        - orgId
        - userId
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````