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

# Read call booking results

> Read confirmed booking results for a Nixflex call. Distinguish ready, none, processing, deleted and unavailable without guessing from a transcript.

**FIXED · call** For new Google Calendar or Cal.com voice bookings, collect spelled name and email separately. Finish the combined read-back and get a later clear yes before the write, even with require\_booking\_confirmation=false. To reschedule or cancel an existing Cal.com appointment that changed across lookups, read back the current target in full and get a fresh yes. Google Calendar skips this; its moves and cancels follow require\_booking\_confirmation. Confirm success only after the calendar write succeeds. SMS uses its own flow.

**NOT OFFERED → do this instead · number** The booking zone cannot change general call time. Set calcom\_timezone\_override on the number to an IANA zone, or null to inherit. Cal.com uses number → agent → saved connection → Europe/London. With a booking context, read effective\_calcom\_timezone and effective\_calcom\_timezone\_source. Google Calendar keeps its own number-calendar setting.

**YOU CAN CHANGE · number** Supported Google Calendar settings include availability hours, timezone and invitation behaviour. These configure that number’s booking calendar. `timezone`, `hours`, `slot_minutes`, `calendar_id`, `send_invites`.

**SCOPE · number** For an owned number assigned to an agent, send only return\_url to start Google Calendar consent. Open the returned url for the calendar owner. A competing calendar is refused. Read the number’s status after consent to confirm connection.

[Read the compact AI rules](https://docs.nixflex.com/ai-rules.md#bookings-calendars)

Read the retained booking result for one account-owned call. Only ready returns confirmed mutations and their final results.

Method: **GET** · Success: **200** · Scope: **Owning account**

**The important part**

* Only ready returns a confirmed booking result; every other state has result:null.
* none needs complete evidence of zero successful mutations. unavailable is not an empty result.

[Business guide](https://docs.nixflex.com/guides/booking-receptionist.md) · [Developer guide](https://docs.nixflex.com/guides/developer/call-history.md) · [Glossary](https://docs.nixflex.com/guides/glossary.md)

## Authentication

Use `Authorization: Bearer KEY_ID:KEY_SECRET` for the owning account. An organisation API key has Owner authority. Personal sessions use the role rules documented in [Authentication](https://docs.nixflex.com/api-reference/authentication.md); do not treat a Member session as an API key.

## Request fields

| Field | Type | Required | Default and limits |
| - | - | - | - |
| `id` (path) | string | Yes | Owned call identifier. Invalid, missing and foreign identifiers share the same 404. At most 200 characters |

Do not send a request body.

This read does not contact a calendar or place a call. Invalid, missing and foreign call IDs share one 404. A retained result describes this call, not the current calendar. It uses the same public projection as [call.bookings](https://docs.nixflex.com/api-reference/call-bookings.md), without a delivery signature. The response uses Cache-Control: no-store.

## Response fields

`200 OK` returns `call_id`, `state` and `result`. The response is `Cache-Control: no-store`.

| State | Result | What to show |
| - | - | - |
| ready | Confirmed object | Show timeline and final from the retained result of this call. |
| none | null | No successful mutation, established by complete booking evidence. |
| processing | null | Tracked call or post-call work is unfinished; offer a bounded refresh. |
| deleted | null | Content was removed, immediately scheduled for deletion, expired or is being purged. |
| unavailable | null | Old, partial or unconfirmed evidence; no definitive booking result. |

For ready, result has the complete [call.bookings payload](https://docs.nixflex.com/api-reference/call-bookings.md#payload). Count active rows in final; timeline counts actions. This is not the current calendar inventory. Do not infer none from a transcript, an empty legacy array or an unsuccessful call.

## Example request

Production HTTP examples. Replace the placeholder identifiers with resources owned by the account. Set `NIXFLEX_API_KEY` privately; never print it.

```bash cURL (Bash) theme={"dark"}
curl --request GET \
  --url 'https://api.nixflex.com/v1/calls/call_example/bookings' \
  --header "Authorization: Bearer $NIXFLEX_API_KEY"
```

```javascript Node (HTTP) theme={"dark"}
const response = await fetch('https://api.nixflex.com/v1/calls/call_example/bookings', {
  method: 'GET',
  headers: { Authorization: `Bearer ${process.env.NIXFLEX_API_KEY}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = await response.json();
// Handle the private result without logging it.
```

```python Python (HTTP) theme={"dark"}
import os, json
from urllib.request import Request, urlopen

request = Request('https://api.nixflex.com/v1/calls/call_example/bookings', method='GET',
    headers={'Authorization': 'Bearer ' + os.environ['NIXFLEX_API_KEY']})
with urlopen(request, timeout=30) as response:
    result = json.load(response)
# Handle the private result without logging it.
```

```powershell PowerShell (HTTP) theme={"dark"}
$headers = @{ Authorization = "Bearer $env:NIXFLEX_API_KEY" }
$result = Invoke-RestMethod -Method GET -Uri 'https://api.nixflex.com/v1/calls/call_example/bookings' -Headers $headers -DisableKeepAlive
# Handle $result privately.
```

## Example response

```json ready theme={"dark"}
{
  "call_id": "call_example",
  "state": "ready",
  "result": {
    "event": "call.bookings",
    "call_id": "call_example",
    "agent_id": "agent_example",
    "from": "+12025550101",
    "to": "+12025550100",
    "number": "+12025550100",
    "ended_at": "2030-11-04T09:05:00.000Z",
    "timeline": [
      {
        "action": "created",
        "booking_uid": "booking_example",
        "start": "2030-11-04T10:00:00.000Z",
        "end": "2030-11-04T10:30:00.000Z",
        "attendee_name": "Sam Carter",
        "attendee_email": "sam@example.test",
        "service": "Consultation",
        "timezone": "Europe/London",
        "at": "2030-11-04T09:01:00.000Z"
      },
      {
        "action": "rescheduled",
        "booking_uid": "booking_example",
        "start": "2030-11-04T11:00:00.000Z",
        "end": "2030-11-04T11:30:00.000Z",
        "attendee_name": "Sam Carter",
        "attendee_email": "sam@example.test",
        "service": "Consultation",
        "timezone": "Europe/London",
        "at": "2030-11-04T09:02:00.000Z"
      }
    ],
    "final": [
      {
        "status": "active",
        "booking_uid": "booking_example",
        "start": "2030-11-04T11:00:00.000Z",
        "end": "2030-11-04T11:30:00.000Z",
        "attendee_name": "Sam Carter",
        "attendee_email": "sam@example.test",
        "service": "Consultation",
        "timezone": "Europe/London"
      }
    ]
  }
}
```

```json none theme={"dark"}
{
  "call_id": "call_example",
  "state": "none",
  "result": null
}
```

```json processing theme={"dark"}
{
  "call_id": "call_example",
  "state": "processing",
  "result": null
}
```

```json deleted theme={"dark"}
{
  "call_id": "call_example",
  "state": "deleted",
  "result": null
}
```

```json unavailable theme={"dark"}
{
  "call_id": "call_example",
  "state": "unavailable",
  "result": null
}
```

## Errors

Branch on `error.code`, not the wording of `error.message`. The envelope includes `type`, `code`, `message`, `doc_url` and `details`.

| Status / code | What it means | What to do |
| - | - | - |
| 401 · `unauthorized` | The credential is missing or invalid. | Check the full account credential and API host privately; stop the retry loop. |
| 403 · `permission_denied` | This actor cannot perform the operation. | Resolve the account or role restriction through an authorised person. |
| 404 · `not_found` | Call identifier is invalid, missing or foreign. Check the owned ID. | Check the exact owned identifier and current resource state; do not probe another account. |
| 429 · `rate_limit_exceeded` | The request limit was reached. | Wait at least Retry-After and use a bounded read retry. |
| 503 · `call_bookings_unavailable` | The read failed. Retry the read with bounded backoff; never show none. | Retry the read with bounded backoff. Keep the result unavailable; never display none. |

A 503 call\_bookings\_unavailable is a failed read, not none. Keep the last known uncertainty and use bounded read retries. A 404 does not reveal another account’s calls.

## Retry and idempotency

This read does not place a call or change a booking. Retry temporary read failures with bounded backoff. Refresh processing only within a chosen time limit; preserve deleted and unavailable as distinct results. This endpoint is not paginated.

## Related endpoints

* [List calls](https://docs.nixflex.com/api-reference/calls/list.md)
* [Get call history](https://docs.nixflex.com/api-reference/calls/get-calls-history.md)
* [Errors and recovery](https://docs.nixflex.com/api-reference/errors.md#error-envelope)


## OpenAPI

````yaml api-reference/public.openapi.json GET /calls/{id}/bookings
openapi: 3.1.0
info:
  title: Nixflex public API
  version: 1.0.0
  description: >-
    Nixflex API reference for agents, calls, messaging, knowledge, organisations
    and integrations. Authenticate with the owning account and follow each
    operation’s permissions, response and retry contract.
servers:
  - url: https://api.nixflex.com/v1
security:
  - bearerAuth: []
paths:
  /calls/{id}/bookings:
    get:
      tags:
        - Calls
      summary: Read call booking results
      description: >-
        Read the authoritative retained booking result for one owned call. ready
        returns the signed-event public projection as data, not a delivery
        signature. none requires confirmed completed evidence with no successful
        mutations. processing means unfinished tracked work. deleted covers
        deleted, immediately scheduled, expired or purging content. unavailable
        covers old, partial, unstamped or unconfirmed evidence, including
        terminal unsuccessful calls. Do not infer bookings from a transcript or
        recover erased data from logs. This is the result of this call, not
        current calendar inventory.
      operationId: getCallBookings
      parameters:
        - in: path
          name: id
          required: true
          description: >-
            Owned call identifier. Invalid, missing and foreign identifiers
            share the same 404.
          schema:
            type: string
            minLength: 1
            maxLength: 200
      responses:
        '200':
          description: Booking state. Only ready returns a non-null result.
          headers:
            Cache-Control:
              description: Do not cache private request or booking state.
              schema:
                type: string
                const: no-store
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    required:
                      - call_id
                      - state
                      - result
                    additionalProperties: true
                    properties:
                      call_id:
                        type: string
                        minLength: 1
                        maxLength: 200
                      state:
                        type: string
                        const: ready
                      result:
                        type: object
                        additionalProperties: true
                        required:
                          - event
                          - call_id
                          - agent_id
                          - from
                          - to
                          - number
                          - ended_at
                          - timeline
                          - final
                        properties:
                          event:
                            type: string
                            const: call.bookings
                          call_id:
                            type:
                              - string
                              - 'null'
                          agent_id:
                            type:
                              - string
                              - 'null'
                          from:
                            type:
                              - string
                              - 'null'
                          to:
                            type:
                              - string
                              - 'null'
                          number:
                            type:
                              - string
                              - 'null'
                          ended_at:
                            type: string
                            format: date-time
                            description: >-
                              Engine call-end time in UTC; not webhook delivery
                              time.
                          timeline:
                            type: array
                            minItems: 1
                            description: >-
                              Ordered confirmed calendar mutations during this
                              call.
                            items:
                              type: object
                              additionalProperties: true
                              required:
                                - action
                                - booking_uid
                                - start
                                - end
                                - attendee_name
                                - attendee_email
                                - service
                                - timezone
                                - at
                              properties:
                                action:
                                  type: string
                                  enum:
                                    - created
                                    - rescheduled
                                    - cancelled
                                booking_uid:
                                  type:
                                    - string
                                    - 'null'
                                start:
                                  type:
                                    - string
                                    - 'null'
                                  format: date-time
                                end:
                                  type:
                                    - string
                                    - 'null'
                                  format: date-time
                                attendee_name:
                                  type:
                                    - string
                                    - 'null'
                                attendee_email:
                                  type:
                                    - string
                                    - 'null'
                                service:
                                  type:
                                    - string
                                    - number
                                    - 'null'
                                timezone:
                                  type:
                                    - string
                                    - 'null'
                                at:
                                  type: string
                                  format: date-time
                                  description: >-
                                    Engine receipt time of the successful
                                    mutation, in UTC.
                          final:
                            type: array
                            minItems: 1
                            description: >-
                              One result per resulting booking UID. This is not
                              a full calendar inventory.
                            items:
                              type: object
                              additionalProperties: true
                              required:
                                - status
                                - booking_uid
                                - start
                                - end
                                - attendee_name
                                - attendee_email
                                - service
                                - timezone
                              properties:
                                status:
                                  type: string
                                  enum:
                                    - active
                                    - cancelled
                                booking_uid:
                                  type:
                                    - string
                                    - 'null'
                                start:
                                  type:
                                    - string
                                    - 'null'
                                  format: date-time
                                end:
                                  type:
                                    - string
                                    - 'null'
                                  format: date-time
                                attendee_name:
                                  type:
                                    - string
                                    - 'null'
                                attendee_email:
                                  type:
                                    - string
                                    - 'null'
                                service:
                                  type:
                                    - string
                                    - number
                                    - 'null'
                                timezone:
                                  type:
                                    - string
                                    - 'null'
                  - type: object
                    required:
                      - call_id
                      - state
                      - result
                    additionalProperties: true
                    properties:
                      call_id:
                        type: string
                        minLength: 1
                        maxLength: 200
                      state:
                        type: string
                        const: none
                      result:
                        type: 'null'
                        description: >-
                          No authoritative booking result is returned in this
                          state.
                  - type: object
                    required:
                      - call_id
                      - state
                      - result
                    additionalProperties: true
                    properties:
                      call_id:
                        type: string
                        minLength: 1
                        maxLength: 200
                      state:
                        type: string
                        const: processing
                      result:
                        type: 'null'
                        description: >-
                          No authoritative booking result is returned in this
                          state.
                  - type: object
                    required:
                      - call_id
                      - state
                      - result
                    additionalProperties: true
                    properties:
                      call_id:
                        type: string
                        minLength: 1
                        maxLength: 200
                      state:
                        type: string
                        const: deleted
                      result:
                        type: 'null'
                        description: >-
                          No authoritative booking result is returned in this
                          state.
                  - type: object
                    required:
                      - call_id
                      - state
                      - result
                    additionalProperties: true
                    properties:
                      call_id:
                        type: string
                        minLength: 1
                        maxLength: 200
                      state:
                        type: string
                        const: unavailable
                      result:
                        type: 'null'
                        description: >-
                          No authoritative booking result is returned in this
                          state.
              examples:
                ready:
                  summary: Confirmed mutations and their final results.
                  value:
                    call_id: call_example
                    state: ready
                    result:
                      event: call.bookings
                      call_id: call_example
                      agent_id: agent_example
                      from: '+12025550101'
                      to: '+12025550100'
                      number: '+12025550100'
                      ended_at: '2030-11-04T09:05:00.000Z'
                      timeline:
                        - action: created
                          booking_uid: booking_example
                          start: '2030-11-04T10:00:00.000Z'
                          end: '2030-11-04T10:30:00.000Z'
                          attendee_name: Sam Carter
                          attendee_email: sam@example.test
                          service: Consultation
                          timezone: Europe/London
                          at: '2030-11-04T09:01:00.000Z'
                        - action: rescheduled
                          booking_uid: booking_example
                          start: '2030-11-04T11:00:00.000Z'
                          end: '2030-11-04T11:30:00.000Z'
                          attendee_name: Sam Carter
                          attendee_email: sam@example.test
                          service: Consultation
                          timezone: Europe/London
                          at: '2030-11-04T09:02:00.000Z'
                      final:
                        - status: active
                          booking_uid: booking_example
                          start: '2030-11-04T11:00:00.000Z'
                          end: '2030-11-04T11:30:00.000Z'
                          attendee_name: Sam Carter
                          attendee_email: sam@example.test
                          service: Consultation
                          timezone: Europe/London
                none:
                  summary: Completed booking evidence confirms no successful mutation.
                  value:
                    call_id: call_example
                    state: none
                    result: null
                processing:
                  summary: Tracked call or post-call work is still running.
                  value:
                    call_id: call_example
                    state: processing
                    result: null
                deleted:
                  summary: Retained booking content is no longer available.
                  value:
                    call_id: call_example
                    state: deleted
                    result: null
                unavailable:
                  summary: The retained evidence cannot establish a result.
                  value:
                    call_id: call_example
                    state: unavailable
                    result: null
        '401':
          description: >-
            unauthorized: The credential is missing or invalid. Check the full
            account credential.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                        description: Error class.
                      code:
                        type: string
                        description: Stable machine-readable code.
                      message:
                        type: string
                        description: Readable refusal or failure reason.
                      doc_url:
                        type: string
                        description: Error documentation URL.
                        format: uri
                      details:
                        type: object
                        properties: {}
                        description: Additional field, operation or outcome details.
                        additionalProperties: true
                    required:
                      - type
                      - code
                      - message
                      - doc_url
                    description: ''
                    additionalProperties: false
                required:
                  - error
                description: ''
                additionalProperties: false
        '403':
          description: >-
            permission_denied: The account or personal session cannot access
            this operation. Resolve access through an authorised person.
          headers:
            Cache-Control:
              description: Do not cache private request or booking state.
              schema:
                type: string
                const: no-store
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - type
                      - code
                      - message
                      - doc_url
                      - details
                    properties:
                      type:
                        type: string
                      code:
                        type: string
                      message:
                        type: string
                      doc_url:
                        type: string
                        format: uri
                      details:
                        type: object
                        additionalProperties: true
                    additionalProperties: true
                additionalProperties: true
              examples:
                permission:
                  value:
                    error:
                      type: permission_denied
                      code: permission_denied
                      message: You do not have access to this section.
                      doc_url: https://docs.nixflex.com/errors/permission_denied
                      details: {}
        '404':
          description: >-
            not_found: Call identifier is invalid, missing or foreign. Check the
            owned ID.
          headers:
            Cache-Control:
              description: Do not cache private request or booking state.
              schema:
                type: string
                const: no-store
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - type
                      - code
                      - message
                      - doc_url
                      - details
                    properties:
                      type:
                        type: string
                      code:
                        type: string
                        enum:
                          - not_found
                      message:
                        type: string
                      doc_url:
                        type: string
                        format: uri
                      details:
                        type: object
                        additionalProperties: true
                    additionalProperties: true
                additionalProperties: true
              examples:
                not_found:
                  value:
                    error:
                      type: not_found
                      code: not_found
                      message: Call not found.
                      doc_url: https://docs.nixflex.com/errors/not_found
                      details: {}
        '429':
          description: >-
            rate_limit_exceeded: The account request limit was reached. Wait for
            Retry-After. Reconcile uncertain writes before resending.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                        description: Error class.
                      code:
                        type: string
                        description: Stable machine-readable code.
                      message:
                        type: string
                        description: Readable refusal or failure reason.
                      doc_url:
                        type: string
                        description: Error documentation URL.
                        format: uri
                      details:
                        type: object
                        properties: {}
                        description: Additional field, operation or outcome details.
                        additionalProperties: true
                    required:
                      - type
                      - code
                      - message
                      - doc_url
                    description: ''
                    additionalProperties: false
                required:
                  - error
                description: ''
                additionalProperties: false
        '503':
          description: >-
            call_bookings_unavailable: The read failed. Retry the read with
            bounded backoff; never show none.
          headers:
            Cache-Control:
              description: Do not cache private request or booking state.
              schema:
                type: string
                const: no-store
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - type
                      - code
                      - message
                      - doc_url
                      - details
                    properties:
                      type:
                        type: string
                      code:
                        type: string
                        enum:
                          - call_bookings_unavailable
                      message:
                        type: string
                      doc_url:
                        type: string
                        format: uri
                      details:
                        type: object
                        additionalProperties: true
                    additionalProperties: true
                additionalProperties: true
              examples:
                unavailable:
                  value:
                    error:
                      type: server_error
                      code: call_bookings_unavailable
                      message: >-
                        The booking result could not be checked. Try again
                        shortly.
                      doc_url: >-
                        https://docs.nixflex.com/errors/call_bookings_unavailable
                      details: {}
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A
        verified personal dashboard Bearer session may be used where the
        operation documents role-based access.

````

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