{
  "info": {
    "_postman_id": "86bc0df3-e173-4588-b1c9-9a109cac92ab",
    "name": "D-ID Agents Credits API",
    "description": "API for creating and managing interactive real-time AI agents that combine digital avatar streaming with large language models, RAG-based knowledge bases, and custom tools. Supports WebRTC and LiveKit-powered streaming sessions, conversation memory, chat export, and integration with third-party LLM providers. Enables face-to-face AI conversations at scale.\n",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:29:09.000Z",
    "updatedAt": "2026-07-28T01:29:09.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-86bc0df3-e173-4588-b1c9-9a109cac92ab"
  },
  "item": [
    {
      "name": "credits",
      "item": [
        {
          "name": "Get credits",
          "id": "a854d12f-2f47-4830-994f-41ae330f0997",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/credits",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "credits"
              ]
            },
            "description": "Retrieve the authenticated user's credit balance and expiration details."
          },
          "response": [
            {
              "id": "40503b85-a7b1-4341-a636-7b73eb298511",
              "name": "User credit information.",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: basic",
                    "key": "Authorization",
                    "value": "Basic <credentials>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/credits",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "credits"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"credits\": [\n    {\n      \"owner_id\": \"<string>\",\n      \"remaining\": \"<number>\",\n      \"total\": \"<number>\",\n      \"expire_at\": \"<dateTime>\",\n      \"created_at\": \"<dateTime>\",\n      \"modified_at\": \"<dateTime>\",\n      \"valid_from\": \"<dateTime>\",\n      \"product_id\": \"<string>\",\n      \"price_id\": \"<string>\",\n      \"plan_group\": \"<string>\",\n      \"product_billing_interval\": \"<string>\"\n    },\n    {\n      \"owner_id\": \"<string>\",\n      \"remaining\": \"<number>\",\n      \"total\": \"<number>\",\n      \"expire_at\": \"<dateTime>\",\n      \"created_at\": \"<dateTime>\",\n      \"modified_at\": \"<dateTime>\",\n      \"valid_from\": \"<dateTime>\",\n      \"product_id\": \"<string>\",\n      \"price_id\": \"<string>\",\n      \"plan_group\": \"<string>\",\n      \"product_billing_interval\": \"<string>\"\n    }\n  ],\n  \"remaining\": \"<number>\",\n  \"total\": \"<number>\"\n}",
              "createdAt": "2026-07-28T01:29:09.000Z",
              "updatedAt": "2026-07-28T01:29:09.000Z",
              "uid": "35240-40503b85-a7b1-4341-a636-7b73eb298511"
            },
            {
              "id": "8bc4c8d9-1d1f-439e-8d9f-0e36dc8a11db",
              "name": "No credits found for user.",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: basic",
                    "key": "Authorization",
                    "value": "Basic <credentials>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/credits",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "credits"
                  ]
                }
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"kind\": \"<string>\",\n  \"description\": \"<string>\"\n}",
              "createdAt": "2026-07-28T01:29:09.000Z",
              "updatedAt": "2026-07-28T01:29:09.000Z",
              "uid": "35240-8bc4c8d9-1d1f-439e-8d9f-0e36dc8a11db"
            }
          ],
          "createdAt": "2026-07-28T01:29:09.000Z",
          "updatedAt": "2026-07-28T01:29:09.000Z",
          "uid": "35240-a854d12f-2f47-4830-994f-41ae330f0997"
        }
      ],
      "id": "07f0c7b7-42f9-4539-81a8-b8e5960ee160",
      "createdAt": "2026-07-28T01:29:09.000Z",
      "updatedAt": "2026-07-28T01:29:09.000Z",
      "uid": "35240-07f0c7b7-42f9-4539-81a8-b8e5960ee160"
    }
  ],
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{basicAuthUsername}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{basicAuthPassword}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.d-id.com"
    }
  ]
}