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

# Get Call Permission

> WhatsApp's live answer: may you call this person now, and how many requests and calls you have left. Scope: read.

WhatsApp's live answer for one person: may you call them right now, and how many permission requests and calls you have left. `last_reply` is their last answer to a request, as FlowIQ recorded it. Use `/v1/calls/permissions?contact_id=…` to look someone up by FlowIQ contact id.

## Basic Usage

```bash theme={null}
curl "https://api.flowiq.live/v1/calls/permissions/27820000000" \
  -H "Authorization: Bearer fiq_YOUR_API_KEY"
```

***

## Path Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `whatsapp_id` | string | Yes | The person's WhatsApp number with country code, digits only |

***

## Response

### Success (200)

```json theme={null}
{
  "organization_id": "a4234f32-…",
  "whatsapp_id": "27820000000",
  "contact_id": "9b8a7c6d-…",
  "permission": { "status": "temporary", "expires_at": "2026-11-02T10:15:00.000Z" },
  "can_start_call": true,
  "can_send_permission_request": false,
  "limits": {
    "start_call": [],
    "send_call_permission_request": [
      { "time_period": "PT24H", "max_allowed": 1, "current_usage": 1, "limit_expires_at": "2026-10-27T10:15:00.000Z" },
      { "time_period": "P7D", "max_allowed": 2, "current_usage": 1, "limit_expires_at": null }
    ]
  },
  "last_reply": { "response": "accept", "is_permanent": false, "expires_at": "2026-11-02T10:15:00.000Z", "at": "2026-10-26T10:15:02+02:00" }
}
```

***

`permission.status` is `no_permission`, `temporary` (until `expires_at`) or `permanent`.


## OpenAPI

````yaml flowiq-api-reference/openapi-calls.json GET /v1/calls/permissions/{whatsapp_id}
openapi: 3.1.0
info:
  title: FlowIQ Calling API
  version: 1.0.0
  description: >-
    Run WhatsApp calls on your FlowIQ number from your own server: answer,
    decline, end and start calls, ask for call permission, read call history and
    change the number's calling settings. Every response carries X-Request-Id;
    errors carry a stable code; POST / PATCH accept Idempotency-Key.
servers:
  - url: https://api.flowiq.live
    description: FlowIQ Production API
security:
  - BearerAuth: []
paths:
  /v1/calls/permissions/{whatsapp_id}:
    get:
      tags:
        - Calling
      summary: Get Call Permission
      description: >-
        WhatsApp's live answer: may you call this person now, and how many
        requests and calls you have left. Scope: read.
      operationId: getCallPermission
      parameters:
        - name: whatsapp_id
          in: path
          required: true
          description: The person's WhatsApp number with country code
          schema:
            type: string
          example: '27820000000'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallPermission'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    CallPermission:
      type: object
      properties:
        organization_id:
          type: string
          format: uuid
        whatsapp_id:
          type: string
          example: '27820000000'
        contact_id:
          type:
            - string
            - 'null'
          format: uuid
        permission:
          type: object
          properties:
            status:
              type: string
              enum:
                - no_permission
                - temporary
                - permanent
            expires_at:
              type:
                - string
                - 'null'
              format: date-time
        can_start_call:
          type: boolean
          description: WhatsApp allows a call to this person right now
        can_send_permission_request:
          type: boolean
        limits:
          type: object
          properties:
            start_call:
              type: array
              items:
                type: object
                properties:
                  time_period:
                    type: string
                    example: PT24H
                  max_allowed:
                    type: integer
                  current_usage:
                    type: integer
                  limit_expires_at:
                    type:
                      - string
                      - 'null'
                    format: date-time
            send_call_permission_request:
              type: array
              items:
                type: object
                properties:
                  time_period:
                    type: string
                    example: PT24H
                  max_allowed:
                    type: integer
                  current_usage:
                    type: integer
                  limit_expires_at:
                    type:
                      - string
                      - 'null'
                    format: date-time
        last_reply:
          type:
            - object
            - 'null'
          description: >-
            The person's last answer to a permission request, as FlowIQ recorded
            it
          properties:
            response:
              type: string
              enum:
                - accept
                - reject
            is_permanent:
              type: boolean
            expires_at:
              type:
                - string
                - 'null'
              format: date-time
            at:
              type: string
    Error:
      type: object
      properties:
        error:
          type: string
          description: Short label (Bad request, Not found, …)
        code:
          type: string
          description: Stable machine-readable code, see Conventions
        message:
          type: string
        request_id:
          type: string
          format: uuid
          description: Quote this to support
        whatsapp_error_code:
          type: integer
          description: WhatsApp's own code, on whatsapp_rejected
  responses:
    BadRequest:
      description: Invalid request, or WhatsApp refused it (the message says why)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Request failed
            message: Parameter value is not valid
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key lacks the scope, or the person has not given call permission
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Request failed
            message: Contact has not granted callback permission
    RateLimited:
      description: 240 reads or 60 actions per minute per key; Retry-After says when
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: fiq_ API key
      description: >-
        Your FlowIQ organisation API key (Settings → API Keys), sent as a bearer
        token. Format: `Bearer fiq_YOUR_API_KEY`

````

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