{
  "info": {
    "_postman_id": "7c9bb7ef-43aa-4518-9951-eaa12925282f",
    "name": "Suger API API",
    "description": "CRUD operations on a set of resources, including organizations, products, offers, entitlements, usage record groups for meterting, etc.\n\nContact Support:\n Name: Suger Support\n Email: support@suger.io",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:05:50.000Z",
    "updatedAt": "2026-07-28T03:05:51.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-7c9bb7ef-43aa-4518-9951-eaa12925282f"
  },
  "item": [
    {
      "name": "org",
      "item": [
        {
          "name": "{orgId}",
          "item": [
            {
              "name": "apiClient",
              "item": [
                {
                  "name": "{apiClientId}",
                  "item": [
                    {
                      "name": "Get Api Client",
                      "id": "8bbcff32-579d-4782-9c2c-a769f40b0b0f",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "Authorization",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/org/:orgId/apiClient/:apiClientId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "org",
                            ":orgId",
                            "apiClient",
                            ":apiClientId"
                          ],
                          "variable": [
                            {
                              "id": "6d4a1ec6-cee1-4902-84df-86806eb47e56",
                              "key": "orgId",
                              "value": "<string>",
                              "description": "(Required) Organization ID"
                            },
                            {
                              "id": "e305a19b-4e3d-40fd-b8a6-74fecc4bd8ad",
                              "key": "apiClientId",
                              "value": "<string>",
                              "description": "(Required) API client ID"
                            }
                          ]
                        },
                        "description": "Get the API client by ID."
                      },
                      "response": [
                        {
                          "id": "5ea62557-160d-4f80-96bd-58cb75359cd0",
                          "name": "OK",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/org/:orgId/apiClient/:apiClientId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "org",
                                ":orgId",
                                "apiClient",
                                ":apiClientId"
                              ],
                              "variable": [
                                {
                                  "key": "orgId"
                                },
                                {
                                  "key": "apiClientId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"apiKeyHash\": \"<string>\",\n  \"creationTime\": \"<string>\",\n  \"id\": \"<string>\",\n  \"info\": [\n    \"<integer>\",\n    \"<integer>\"\n  ],\n  \"lastUpdateTime\": \"<string>\",\n  \"organizationID\": \"<string>\",\n  \"provider\": \"<string>\",\n  \"role\": \"<string>\",\n  \"secret\": \"<string>\",\n  \"type\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T03:05:51.000Z",
                          "updatedAt": "2026-07-28T03:05:51.000Z",
                          "uid": "35240-5ea62557-160d-4f80-96bd-58cb75359cd0"
                        },
                        {
                          "id": "ca2a6d0c-61e7-402b-ad44-9b8a227734dc",
                          "name": "Bad request error",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/org/:orgId/apiClient/:apiClientId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "org",
                                ":orgId",
                                "apiClient",
                                ":apiClientId"
                              ],
                              "variable": [
                                {
                                  "key": "orgId"
                                },
                                {
                                  "key": "apiClientId"
                                }
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "<string>",
                          "createdAt": "2026-07-28T03:05:51.000Z",
                          "updatedAt": "2026-07-28T03:05:51.000Z",
                          "uid": "35240-ca2a6d0c-61e7-402b-ad44-9b8a227734dc"
                        },
                        {
                          "id": "ae9bd7e9-5332-4b55-890a-a92500730b11",
                          "name": "Internal server error",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/org/:orgId/apiClient/:apiClientId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "org",
                                ":orgId",
                                "apiClient",
                                ":apiClientId"
                              ],
                              "variable": [
                                {
                                  "key": "orgId"
                                },
                                {
                                  "key": "apiClientId"
                                }
                              ]
                            }
                          },
                          "status": "Internal Server Error",
                          "code": 500,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "<string>",
                          "createdAt": "2026-07-28T03:05:51.000Z",
                          "updatedAt": "2026-07-28T03:05:51.000Z",
                          "uid": "35240-ae9bd7e9-5332-4b55-890a-a92500730b11"
                        }
                      ],
                      "createdAt": "2026-07-28T03:05:51.000Z",
                      "updatedAt": "2026-07-28T03:05:51.000Z",
                      "uid": "35240-8bbcff32-579d-4782-9c2c-a769f40b0b0f"
                    }
                  ],
                  "id": "b8e3477b-57cb-4c14-b3a8-8a4545508bb6",
                  "createdAt": "2026-07-28T03:05:51.000Z",
                  "updatedAt": "2026-07-28T03:05:51.000Z",
                  "uid": "35240-b8e3477b-57cb-4c14-b3a8-8a4545508bb6"
                },
                {
                  "name": "List Api Clients",
                  "id": "77c65223-adcf-481f-84d5-80f6d0c8a659",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "auth": {
                      "type": "apikey",
                      "apikey": [
                        {
                          "key": "key",
                          "value": "Authorization",
                          "type": "string"
                        },
                        {
                          "key": "value",
                          "value": "{{apiKey}}",
                          "type": "string"
                        },
                        {
                          "key": "in",
                          "value": "header",
                          "type": "string"
                        }
                      ]
                    },
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/org/:orgId/apiClient",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "org",
                        ":orgId",
                        "apiClient"
                      ],
                      "variable": [
                        {
                          "id": "2f0a2e9b-718f-478f-b1d0-01aae785de6f",
                          "key": "orgId",
                          "value": "<string>",
                          "description": "(Required) Organization ID"
                        }
                      ]
                    },
                    "description": "List all API clients in the given organization."
                  },
                  "response": [
                    {
                      "id": "80988b20-806f-434c-b1d9-037bea675d39",
                      "name": "OK",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/org/:orgId/apiClient",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "org",
                            ":orgId",
                            "apiClient"
                          ],
                          "variable": [
                            {
                              "key": "orgId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "[\n  {\n    \"apiKeyHash\": \"<string>\",\n    \"creationTime\": \"<string>\",\n    \"id\": \"<string>\",\n    \"info\": [\n      \"<integer>\",\n      \"<integer>\"\n    ],\n    \"lastUpdateTime\": \"<string>\",\n    \"organizationID\": \"<string>\",\n    \"provider\": \"<string>\",\n    \"role\": \"<string>\",\n    \"secret\": \"<string>\",\n    \"type\": \"<string>\"\n  },\n  {\n    \"apiKeyHash\": \"<string>\",\n    \"creationTime\": \"<string>\",\n    \"id\": \"<string>\",\n    \"info\": [\n      \"<integer>\",\n      \"<integer>\"\n    ],\n    \"lastUpdateTime\": \"<string>\",\n    \"organizationID\": \"<string>\",\n    \"provider\": \"<string>\",\n    \"role\": \"<string>\",\n    \"secret\": \"<string>\",\n    \"type\": \"<string>\"\n  }\n]",
                      "createdAt": "2026-07-28T03:05:51.000Z",
                      "updatedAt": "2026-07-28T03:05:51.000Z",
                      "uid": "35240-80988b20-806f-434c-b1d9-037bea675d39"
                    },
                    {
                      "id": "46adf566-fb4d-4a3c-a997-c96fa835438a",
                      "name": "Bad request error",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/org/:orgId/apiClient",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "org",
                            ":orgId",
                            "apiClient"
                          ],
                          "variable": [
                            {
                              "key": "orgId"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "<string>",
                      "createdAt": "2026-07-28T03:05:51.000Z",
                      "updatedAt": "2026-07-28T03:05:51.000Z",
                      "uid": "35240-46adf566-fb4d-4a3c-a997-c96fa835438a"
                    },
                    {
                      "id": "03a2f34d-67ef-4a9a-b3f3-9462a7d5cb24",
                      "name": "Internal server error",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "Authorization",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/org/:orgId/apiClient",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "org",
                            ":orgId",
                            "apiClient"
                          ],
                          "variable": [
                            {
                              "key": "orgId"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "<string>",
                      "createdAt": "2026-07-28T03:05:51.000Z",
                      "updatedAt": "2026-07-28T03:05:51.000Z",
                      "uid": "35240-03a2f34d-67ef-4a9a-b3f3-9462a7d5cb24"
                    }
                  ],
                  "createdAt": "2026-07-28T03:05:51.000Z",
                  "updatedAt": "2026-07-28T03:05:51.000Z",
                  "uid": "35240-77c65223-adcf-481f-84d5-80f6d0c8a659"
                }
              ],
              "id": "75ec2c11-7481-4173-96c7-6fd91c70b1cc",
              "createdAt": "2026-07-28T03:05:51.000Z",
              "updatedAt": "2026-07-28T03:05:51.000Z",
              "uid": "35240-75ec2c11-7481-4173-96c7-6fd91c70b1cc"
            }
          ],
          "id": "388c915d-c044-45e5-8495-aae8e6f71d29",
          "createdAt": "2026-07-28T03:05:51.000Z",
          "updatedAt": "2026-07-28T03:05:51.000Z",
          "uid": "35240-388c915d-c044-45e5-8495-aae8e6f71d29"
        }
      ],
      "id": "f8f05072-cebc-41f2-8f23-2db73762aaa2",
      "createdAt": "2026-07-28T03:05:51.000Z",
      "updatedAt": "2026-07-28T03:05:51.000Z",
      "uid": "35240-f8f05072-cebc-41f2-8f23-2db73762aaa2"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.suger.cloud"
    }
  ]
}