SetupProvision DRM

Provision DRM

Idempotent - safe to call repeatedly. Creates the DRMtoday sub-organization, key/IV seeds, and license-authorization signing secret on first call. On a retry after a partial failure, completed steps are preserved and only the remaining steps run. Provisioning typically takes a few seconds.

curl -X POST "https://api.5centscdn.com/v2/drm/provision" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "result": "success",
  "tenant": {
    "serviceid": 10001,
    "merchant_uuid": "7095f192-f424-45d5-a43f-447e8c09449c",
    "merchant_api_name": "5centscdn_svc10001",
    "merchant_name": "Acme Streaming Inc",
    "status": "active",
    "key_seed_id": "594c95c6-a607-4860-8270-03d1e866e34f",
    "iv_seed_id": "257cc88a-b130-460b-a875-fc502f0662e4",
    "key_systems_enabled": null,
    "live_cpix_config_id": "3f2b8c1d-6e4a-4b7f-9c2d-1a5e8f0b7c63",
    "auth_secret_kid": "84ce8bbc-eb7f-42fd-bcc4-f42634b0067b",
    "auth_secret": 0,
    "synced_at": "2026-09-22 12:03:18",
    "created_at": "2026-09-22 12:03:18",
    "updated_at": "2026-09-22 12:03:18"
  }
}
POST
/drm/provision
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Responses

resultstring

Operation outcome. Returns error if provisioning failed or is still pending.

Allowed values:successerror
tenantobject

Resulting DRM tenant record.