{
  "info": {
    "_postman_id": "35ddd4bc-3801-4710-91bc-d441f7acc8d7",
    "name": "Amigo Account Events API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:00:49.000Z",
    "updatedAt": "2026-07-28T01:00:49.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-35ddd4bc-3801-4710-91bc-d441f7acc8d7"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "{workspace_id}",
          "item": [
            {
              "name": "events",
              "item": [
                {
                  "name": "stream",
                  "item": [
                    {
                      "name": "Event Stream",
                      "id": "9d02f558-9692-44f1-b357-a0891520dee9",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/events/stream",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "events",
                            "stream"
                          ],
                          "variable": [
                            {
                              "id": "5a7f255c-b20d-4694-bfa8-9965bbefd7db",
                              "key": "workspace_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Server-Sent Events stream for real-time workspace updates."
                      },
                      "response": [
                        {
                          "id": "09fb2d8b-51b2-4d77-9e08-29d97de60e25",
                          "name": "SSE stream",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/events/stream",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "events",
                                "stream"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"call_sid\": \"<string>\",\n  \"direction\": \"playground\",\n  \"service_id\": \"<uuid>\",\n  \"event_type\": \"call.started\",\n  \"caller_id\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T01:00:50.000Z",
                          "updatedAt": "2026-07-28T01:00:50.000Z",
                          "uid": "35240-09fb2d8b-51b2-4d77-9e08-29d97de60e25"
                        },
                        {
                          "id": "5ca0ca3a-4ef5-4f5b-8d6d-434b6bf08906",
                          "name": "Rate limit exceeded",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/events/stream",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "events",
                                "stream"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                }
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:00:50.000Z",
                          "updatedAt": "2026-07-28T01:00:50.000Z",
                          "uid": "35240-5ca0ca3a-4ef5-4f5b-8d6d-434b6bf08906"
                        }
                      ],
                      "createdAt": "2026-07-28T01:00:50.000Z",
                      "updatedAt": "2026-07-28T01:00:50.000Z",
                      "uid": "35240-9d02f558-9692-44f1-b357-a0891520dee9"
                    }
                  ],
                  "id": "5aac8e0b-5110-4e24-a25b-455a8b777627",
                  "createdAt": "2026-07-28T01:00:50.000Z",
                  "updatedAt": "2026-07-28T01:00:50.000Z",
                  "uid": "35240-5aac8e0b-5110-4e24-a25b-455a8b777627"
                }
              ],
              "id": "82b7850e-386f-434e-90ef-992325ecdf78",
              "createdAt": "2026-07-28T01:00:50.000Z",
              "updatedAt": "2026-07-28T01:00:50.000Z",
              "uid": "35240-82b7850e-386f-434e-90ef-992325ecdf78"
            }
          ],
          "id": "21ceaed1-9f11-41a4-b4d6-ec5b982c6bdf",
          "createdAt": "2026-07-28T01:00:50.000Z",
          "updatedAt": "2026-07-28T01:00:50.000Z",
          "uid": "35240-21ceaed1-9f11-41a4-b4d6-ec5b982c6bdf"
        }
      ],
      "id": "fd0c0277-5467-4e7c-9aef-a2c9bd9fc2d0",
      "createdAt": "2026-07-28T01:00:50.000Z",
      "updatedAt": "2026-07-28T01:00:50.000Z",
      "uid": "35240-fd0c0277-5467-4e7c-9aef-a2c9bd9fc2d0"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.amigo.ai"
    }
  ]
}