{
  "info": {
    "name": "zVoice API (zPayLink)",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": "Call requests, comments, agents, call recording metadata and quality reviews for account management and support teams, server to server.\n\nStatus (2026-10-15): For organizations set up by zPayLink. The zVoice API works for organizations that zPayLink sets up; there is no self-service sign-up. Outgoing webhooks are not delivered yet (deliveries are simulated), customer assignment and inbound events work for demo organizations only, and commission rates are sample values.\n\nSet the collection variables baseUrl and apiKey (placeholder only; never commit real keys)."
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://voice.zpaylink.com/api/v1",
      "description": "Production: https://voice.zpaylink.com/api/v1"
    },
    {
      "key": "apiKey",
      "value": "<your zvk_live_… key>",
      "description": "Placeholder"
    }
  ],
  "item": [
    {
      "name": "organization",
      "item": [
        {
          "name": "GET /organization | Your organization",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/organization",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "organization"
              ]
            },
            "description": "The organization of the key and its permissions."
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/organization",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "organization"
                  ]
                },
                "description": "The organization of the key and its permissions."
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": \"b2c4e6f8-1a3c-4e5a-8c7e-9f1b3d5f7a9c\",\n    \"name\": \"Example Co\",\n    \"slug\": \"example-co\",\n    \"kind\": \"customer\",\n    \"permissions\": [\n      \"call_requests:read\"\n    ]\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    },
    {
      "name": "call-requests",
      "item": [
        {
          "name": "GET /call-requests | List call requests",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/call-requests",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "call-requests"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "",
                  "description": "Page (default 1) and size (default 25, maximum 100)",
                  "disabled": true
                },
                {
                  "key": "size",
                  "value": "",
                  "description": "Page (default 1) and size (default 25, maximum 100)",
                  "disabled": true
                }
              ]
            },
            "description": "Filter by status (open, closed or a status key), priority, reason, tag, source_crm, team, agent, squad, customer, overdue, from and to (YYYY-MM-DD) or q; sort with sort and dir.\n\nScope: call_requests:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/call-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "call-requests"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "",
                      "description": "Page (default 1) and size (default 25, maximum 100)",
                      "disabled": true
                    },
                    {
                      "key": "size",
                      "value": "",
                      "description": "Page (default 1) and size (default 25, maximum 100)",
                      "disabled": true
                    }
                  ]
                },
                "description": "Filter by status (open, closed or a status key), priority, reason, tag, source_crm, team, agent, squad, customer, overdue, from and to (YYYY-MM-DD) or q; sort with sort and dir.\n\nScope: call_requests:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": 123,\n      \"ref\": \"CR-000123\",\n      \"priority\": \"high\",\n      \"reason_key\": \"deposit_issue\"\n    }\n  ],\n  \"pagination\": {\n    \"page\": 1,\n    \"size\": 25,\n    \"total\": 1\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "GET /call-requests/{id} | Retrieve a call request",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/call-requests/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "call-requests",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Numeric id or reference such as CR-000123"
                }
              ]
            },
            "description": "The request with its calls and callbacks.\n\nScope: call_requests:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/call-requests/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "call-requests",
                    ":id"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Numeric id or reference such as CR-000123"
                    }
                  ]
                },
                "description": "The request with its calls and callbacks.\n\nScope: call_requests:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": 123,\n    \"ref\": \"CR-000123\",\n    \"priority\": \"high\",\n    \"calls\": [],\n    \"callbacks\": []\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "POST /call-requests | Create a call request",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/call-requests",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "call-requests"
              ]
            },
            "description": "Either customer_id or a customer object is required, with source_department, reason_key and priority.\n\nScope: call_requests:write",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"customer\": {\n    \"name\": \"Sara Rezaei\",\n    \"customer_ref\": \"C-77\",\n    \"type\": \"broker\",\n    \"source_system\": \"manual\"\n  },\n  \"source_department\": \"finance\",\n  \"reason_key\": \"deposit_issue\",\n  \"priority\": \"high\",\n  \"summary\": \"Deposit not visible in the account\",\n  \"idempotency_key\": \"cr-c77-20261015\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example 201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/call-requests",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "call-requests"
                  ]
                },
                "description": "Either customer_id or a customer object is required, with source_department, reason_key and priority.\n\nScope: call_requests:write",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"customer\": {\n    \"name\": \"Sara Rezaei\",\n    \"customer_ref\": \"C-77\",\n    \"type\": \"broker\",\n    \"source_system\": \"manual\"\n  },\n  \"source_department\": \"finance\",\n  \"reason_key\": \"deposit_issue\",\n  \"priority\": \"high\",\n  \"summary\": \"Deposit not visible in the account\",\n  \"idempotency_key\": \"cr-c77-20261015\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": 124,\n    \"ref\": \"CR-000124\",\n    \"priority\": \"high\"\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "PATCH /call-requests/{id} | Update a call request",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/call-requests/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "call-requests",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Numeric id or CR-…"
                }
              ]
            },
            "description": "Change priority, due_at, status, summary, reason_key, source_department, product, crm_record_ref or tags; cancelling needs a note of at least 3 characters.\n\nScope: call_requests:write",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"priority\": \"medium\",\n  \"note\": \"Customer called back\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "PATCH",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/call-requests/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "call-requests",
                    ":id"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Numeric id or CR-…"
                    }
                  ]
                },
                "description": "Change priority, due_at, status, summary, reason_key, source_department, product, crm_record_ref or tags; cancelling needs a note of at least 3 characters.\n\nScope: call_requests:write",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"priority\": \"medium\",\n  \"note\": \"Customer called back\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": 124,\n    \"ref\": \"CR-000124\",\n    \"priority\": \"medium\"\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        },
        {
          "name": "POST /call-requests/{id}/comments | Add a comment",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/call-requests/:id/comments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "call-requests",
                ":id",
                "comments"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Numeric id or CR-…"
                }
              ]
            },
            "description": "A comment of 1 to 4000 characters, optionally internal.\n\nScope: comments:write",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"body\": \"Deposit confirmed by finance.\",\n  \"internal\": false,\n  \"idempotency_key\": \"cm-124-0001\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "Example 201 Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/call-requests/:id/comments",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "call-requests",
                    ":id",
                    "comments"
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "",
                      "description": "Numeric id or CR-…"
                    }
                  ]
                },
                "description": "A comment of 1 to 4000 characters, optionally internal.\n\nScope: comments:write",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"body\": \"Deposit confirmed by finance.\",\n  \"internal\": false,\n  \"idempotency_key\": \"cm-124-0001\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "Created",
              "code": 201,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": {\n    \"id\": 501,\n    \"body\": \"Deposit confirmed by finance.\",\n    \"internal\": false\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    },
    {
      "name": "agents",
      "item": [
        {
          "name": "GET /agents | List agents",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents"
              ]
            },
            "description": "Agents with their role, squad, availability and number of assigned customers.\n\nScope: agents:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/agents",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "agents"
                  ]
                },
                "description": "Agents with their role, squad, availability and number of assigned customers.\n\nScope: agents:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f\",\n      \"full_name\": \"Agent One\",\n      \"role\": \"agent\",\n      \"squad\": \"A\",\n      \"status\": \"active\",\n      \"available\": true,\n      \"assigned_customers\": 42,\n      \"crm_agent_id\": null\n    }\n  ]\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    },
    {
      "name": "call-recordings",
      "item": [
        {
          "name": "GET /call-recordings | List call recordings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/call-recordings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "call-recordings"
              ]
            },
            "description": "Recording metadata only; audio is never returned.\n\nScope: recordings:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/call-recordings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "call-recordings"
                  ]
                },
                "description": "Recording metadata only; audio is never returned.\n\nScope: recordings:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": 77,\n      \"ref\": \"REC-000077\",\n      \"duration_s\": 312,\n      \"source\": \"upload\",\n      \"is_real\": true,\n      \"call_at\": \"2026-10-15T08:40:00.000Z\",\n      \"qc_status\": \"reviewed\",\n      \"qc_label\": \"good\"\n    }\n  ],\n  \"pagination\": {\n    \"page\": 1,\n    \"size\": 25,\n    \"total\": 1\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    },
    {
      "name": "call-qc",
      "item": [
        {
          "name": "GET /call-qc | List quality reviews",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/call-qc",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "call-qc"
              ]
            },
            "description": "Quality reviews of recordings with scores and review status.\n\nScope: qc:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/call-qc",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "call-qc"
                  ]
                },
                "description": "Quality reviews of recordings with scores and review status.\n\nScope: qc:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": 31,\n      \"label\": \"good\",\n      \"kind\": \"manual\",\n      \"title\": \"Deposit call\",\n      \"scores\": {\n        \"greeting\": 5\n      },\n      \"overall\": 4.6,\n      \"review_status\": \"approved\"\n    }\n  ],\n  \"pagination\": {\n    \"page\": 1,\n    \"size\": 25,\n    \"total\": 1\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    },
    {
      "name": "commissions",
      "item": [
        {
          "name": "GET /commissions | List commissions",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/commissions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "commissions"
              ]
            },
            "description": "Commission records; rate_is_demo marks sample rates.\n\nScope: commissions:read"
          },
          "response": [
            {
              "name": "Example 200 OK",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/commissions",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "commissions"
                  ]
                },
                "description": "Commission records; rate_is_demo marks sample rates.\n\nScope: commissions:read"
              },
              "status": "OK",
              "code": 200,
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"data\": [\n    {\n      \"id\": 9,\n      \"status\": \"pending\",\n      \"base_amount\": \"250.00\",\n      \"rate_pct\": \"5\",\n      \"amount\": \"12.50\",\n      \"rate_is_demo\": true\n    }\n  ],\n  \"pagination\": {\n    \"page\": 1,\n    \"size\": 25,\n    \"total\": 1\n  }\n}",
              "_postman_previewlanguage": "json"
            }
          ]
        }
      ]
    }
  ]
}
