DVM Bundles

Get available DVM minute bundles for workspace

Changed on

Returns available DVM minute bundle packages for the workspace plan with current balance.

get/v1/workspaces/{workspaceId}/dvm-bundles

Request

  • Base URL
    https://api-gw.sendspark.com
  • Auth
    API key in header x-api-key and API key in header x-api-secret

Path parameters

workspaceIdstring required

Response

Successful

balanceBalance required

Example response

{
  "bundles": [
    {
      "id": "prod_UB6XkMTrkKEdxB",
      "priceId": "price_1RBg7yADxQe4sXwj5E3Bt8qM",
      "minutes": 30,
      "label": "30-Minute Bundle",
      "unitPriceCents": 100,
      "totalPriceCents": 3000,
      "badge": "Best Value",
      "sortOrder": 1
    }
  ],
  "activeBundles": [
    {
      "productName": "Custom DVM Minutes - Growth",
      "unitAmountCents": 120.75,
      "totalPriceCents": 4500
    }
  ]
}

Changes