> ## Documentation Index
> Fetch the complete documentation index at: https://kapso-1adbad2d.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get specific call permission

> Returns a specific call permission for a WhatsApp contact and configuration.
The contact can be identified by either UUID or phone number (wa_id).




## OpenAPI

````yaml api/legacy/openapi-whatsapp.yaml get /whatsapp_contacts/{identifier}/call_permissions/{whatsapp_config_id}
openapi: 3.0.3
info:
  title: Kapso External API - WhatsApp API
  description: >-
    API for programmatically interacting with Kapso agents, executions, and
    WhatsApp conversations. This specification includes only WhatsApp API
    endpoints.
  version: 1.0.0
  contact:
    name: Kapso Support
servers:
  - url: https://app.kapso.ai/api/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /whatsapp_contacts/{identifier}/call_permissions/{whatsapp_config_id}:
    get:
      tags:
        - WhatsApp Contact Call Permissions
      summary: Get specific call permission
      description: >
        Returns a specific call permission for a WhatsApp contact and
        configuration.

        The contact can be identified by either UUID or phone number (wa_id).
      operationId: getWhatsappContactCallPermission
      parameters:
        - name: identifier
          in: path
          required: true
          description: Contact UUID or phone number (will be normalized)
          schema:
            type: string
          examples:
            uuid:
              summary: Contact UUID
              value: 123e4567-e89b-12d3-a456-426614174000
            phone:
              summary: Phone number
              value: '+1234567890'
        - name: whatsapp_config_id
          in: path
          required: true
          description: WhatsApp configuration ID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Call permission details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/WhatsappContactCallPermission'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Contact or call permission not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                permission_not_found:
                  summary: Permission not found
                  value:
                    error: Call permission not found
                contact_not_found:
                  summary: Contact not found
                  value:
                    error: WhatsApp contact not found
components:
  schemas:
    WhatsappContactCallPermission:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: permission-123abc
        whatsapp_contact_id:
          type: string
          format: uuid
          example: contact-456def
        whatsapp_config_id:
          type: string
          format: uuid
          example: config-789ghi
        config_display_name:
          type: string
          example: Customer Support Line
          description: Display name of the WhatsApp configuration
        status:
          type: string
          enum:
            - accepted
            - rejected
          example: accepted
          description: Permission status
        source:
          type: string
          nullable: true
          example: api
          description: Source of the permission
        expires_at:
          type: string
          format: date-time
          nullable: true
          description: When the permission expires
        last_event_message_id:
          type: string
          nullable: true
          description: ID of the last event message
        last_event_at:
          type: string
          format: date-time
          nullable: true
          description: When the last event occurred
        allowed:
          type: boolean
          example: true
          description: Whether calls are currently allowed (considers expiration)
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
          example: Resource not found
        status:
          type: integer
          example: 404
        message:
          type: string
          example: The requested resource could not be found
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key required for all endpoints

````