---
title: "Import tokens via csv"
method: GET
path: "/drm?action=import-csv-url"
---

# Import tokens via csv

`GET /drm?action=import-csv-url`

This endpoint allows you to initiate the process of importing a CSV file with custom fields into a specific DRM group. The process consists of two steps: first, request an upload URL; then, upload the CSV file to that URL.

## Request body

- object
  - `drm_group_id` string, required — DRM group id
  - `private_key_column` string, required — Field referring to the token for releasing the content
  - `string1_column` string, required — Field referring to String1 to show on the screen
  - `string2_column` string, required — Field referring to String2 to show on the screen
  - `string3_column` string, required — Field referring to String3 to show on the screen

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/pandavideo/apis/api-v2.md) · [All operations](https://skmtc.net/pandavideo/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandavideo/api-v2/versions/4fbd3c623ca9/schema)
