Submitter API Documentation

Summary

Submitter API is an API, where the Submitters can upload / manage their users videos in a easy and seamless maner.

The Submitter API uploads videos and model releases to your Glymt account and follows them through review to publication and sales. Files go straight to Glymt's storage through presigned URLs — no storage account of your own is needed, and nothing you upload is ever made public. API version 1.0; https only — http is refused.

Contact us

API clients are issued by Glymt on request. Glymt reviews the request and issues a client ID and secret.

Base URL

Every request of the Submitter API goes to this base URL. Only https is accepted: a request over http is refused.

Every answer is JSON with its own HTTP status. An unknown path under the base answers 404 with {"error": "not_found", "documentation": …}.

Base URL
https://api.glymt.com/upload/v1

Authentication

The Submitter API uses OAuth 2.0 client credentials (RFC 6749 §4.4). Glymt issues you a client ID and a client secret; the secret is shown once, when it is issued — keep it on your server. If it is lost or exposed, ask us for a new one: the old one stops working at once and every token issued with it is revoked.

Request a token from POST /oauth/token with grant_type=client_credentials, the client by HTTP Basic (client_id:client_secret) or by client_id and client_secret in the form body, never both. A user's username or password is never accepted.

Send the token on every other call: Authorization: Bearer {access_token}. A token lasts 7200 seconds (expires_in); then request a new one. A Submitter API token is refused by the Reseller API and the reverse (401 invalid_token).

Errors: 400 invalid_request / unsupported_grant_type, 401 invalid_client (with WWW-Authenticate) on the token request; 401 invalid_token on every other call.

POST /oauth/token
curl -s -X POST https://api.glymt.com/upload/v1/oauth/token \
  -u '{client_id}:{client_secret}' \
  -d grant_type=client_credentials
Response 200
{
  "access_token": "{access_token}",
  "token_type": "Bearer",
  "expires_in": 7200,
  "scope": "upload"
}
Every other call
curl -s https://api.glymt.com/upload/v1/account/summary \
  -H 'Authorization: Bearer {access_token}'

Endpoints

Every endpoint has its own path. Base URL https://api.glymt.com/upload/v1.

MethodPathEndpoint
GET / welcome (no token)
POST /oauth/token token
POST /batches/open open an upload batch
POST /batches/upload_url/:batch_id presigned upload URL for one file (video, release, csv, 3d_asset, screenshot)
POST /batches/submit/:batch_id submit the batch's metadata
GET /videos/list the submitter's videos and their state
GET /videos/status/:video_id one video's state (video id or submitter_video_id)
DELETE /videos/remove/:video_id remove a video
POST /releases/register register an uploaded model and location release
GET /releases/list the submitter's releases
GET /releases/details/:release_id one release with a 5-minute signed link
DELETE /releases/remove/:release_id remove a release
POST /3d_assets/register register an uploaded 3D asset (a 3D file or a world link, with its screenshot)
GET /3d_assets/list the submitter's 3D assets
GET /3d_assets/details/:asset_id one 3D asset: its checks, each video's, a 5-minute link to the file
DELETE /3d_assets/remove/:asset_id remove a 3D asset
GET /account/summary statistics, read only
GET /account/sales sales with dates, paged

Uploading, step by step

  1. Open a batch — POST /batches/open answers a batch_id. Your upload quota is checked first (403 / 429 with reset_at).
  2. Ask for an upload URL per file — POST /batches/upload_url/:batch_id with the file's kind (video, release, csv, 3d_asset or screenshot), filename, size in bytes and content_type.
  3. PUT the file to the url you received, with the Content-Type header it names, within an hour. One PUT always suffices (a video is at most 2 GB, a 3D archive at most 5 GB).
  4. Register the model releases you uploaded — POST /releases/register — or name them in the rows of the next step.
  5. Register the 3D assets you uploaded — POST /3d_assets/register, each a 3D file or a world link with its screenshot — and name their ids in the rows of the next step (three_d_assets).
  6. Submit the metadata — POST /batches/submit/:batch_id, JSON rows (or a CSV file of the batch). Each row answers accepted or refused with its reason.
  7. Follow each video — GET /videos/status/:video_id by your submitter_video_id, or GET /videos/list.

Filenames: letters, digits, -, _ and . only — no slash, no ... A video is a file the intake accepts, from 1 MB to 2 GB; a model and location release is a PDF, JPG, PNG, WEBP or HEIC file of at most 20 MB, checked automatically (how); a 3D asset and its screenshot as the 3D asset rules say; a CSV file at most 5 MB.

A worked example: one video, one release
curl -s -X POST https://api.glymt.com/upload/v1/batches/open \
  -H 'Authorization: Bearer {access_token}'

curl -s -X POST https://api.glymt.com/upload/v1/batches/upload_url/{batch_id} \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "kind": "video", "filename": "beach_sunset_01.mp4", "size": 734003200, "content_type": "video/mp4" }'

curl -s -X PUT '{presigned_upload_url}' \
  -H 'Content-Type: video/mp4' \
  --upload-file beach_sunset_01.mp4

curl -s -X POST https://api.glymt.com/upload/v1/batches/upload_url/{batch_id} \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "kind": "release", "filename": "release_ana.pdf", "size": 182044, "content_type": "application/pdf" }'

curl -s -X PUT '{presigned_upload_url}' -H 'Content-Type: application/pdf' --upload-file release_ana.pdf

curl -s -X POST https://api.glymt.com/upload/v1/batches/submit/{batch_id} \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{
        "videos": [
          {
            "file": "beach_sunset_01.mp4",
            "title": "Sunset over the beach",
            "description": "Golden hour on a quiet beach",
            "keywords": ["beach", "sunset", "sea", "waves"],
            "categories": ["Nature", "Travel"],
            "is_ai": false,
            "submitter_video_id": "SV-0001",
            "releases": ["release_ana.pdf"],
            "three_d_assets": [{asset_id}],
            "publish": true
          }
        ]
      }'

The CSV alternative

Instead of JSON rows, upload a CSV file to the batch (kind csv) and submit {"csv": "<its filename>"}. The first row is the header; the columns, in this order:

#ColumnContent
1filethe video's filename in the batch
2titleat most 200 characters
3keywordsseparated by ;
4releasesrelease filenames in the batch, or ids of releases already registered, separated by ;
5submitter_video_idyour own id for the video (letters, digits, - _ . ; at most 64)
6is_aitrue | false
7descriptionat most 5,000 characters
8categoriesGlymt category names, separated by ;
9publishtrue | false (empty: true) — published by itself once checked and approved, or left unpublished
10three_d_assetsids of 3D assets already registered, separated by ; (optional; a file without this column still reads)

Download the template: submitter_api_template.csv (file,title,keywords,releases,submitter_video_id,is_ai,description,categories,publish,three_d_assets).

Submit a CSV file
curl -s -X POST https://api.glymt.com/upload/v1/batches/submit/{batch_id} \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "csv": "batch_metadata.csv" }'

Objects and statuses

Upload (a submitted video)
FieldTypeMeaning
submitter_video_idstring or nullyour id for it
video_id, token, titleinteger, string, string — or nullthe video, once the intake created it
statusstringqueued, processing, awaiting_approval, published, rejected, ignored, error
reasonstring or nullwhy it was rejected, ignored or refused
lifecycle_statestring or nullthe video's state on Glymt
submitted_at, published_atISO 8601 UTCwhen you submitted it and when it was published
assetsobject or nullthe video's images (not 3D assets) — once processed: the cover (small, medium, large) and the unbranded previews, 570×320 (preview_sd) and 1920×1080 (preview_hd) — absolute https URLs; null before
sales_countintegerits licences
Upload
{
  "submitter_video_id": "SV-0001",
  "video_id": {video_id},
  "token": "{video_token}",
  "title": "Sunset over the beach",
  "status": "published",
  "reason": null,
  "lifecycle_state": "{lifecycle_state}",
  "submitted_at": "2026-10-30T12:00:00Z",
  "published_at": "2026-10-31T09:00:00Z",
  "assets": {
    "cover": {
      "small": "https://glymt.com/{cover_small_path}",
      "medium": "https://glymt.com/{cover_medium_path}",
      "large": "https://glymt.com/{cover_large_path}"
    },
    "preview_sd": "https://glymt.com/uploads/video/{video_id}/unbranded_sd.mp4",
    "preview_hd": "https://glymt.com/uploads/video/{video_id}/unbranded_hd.mp4"
  },
  "sales_count": 0
}
statusMeaning
queuedsubmitted; the intake has not created the video yet
processingthe video exists and is being processed
awaiting_approvalprocessed; in Glymt's review
publishedlive on Glymt
rejectedrefused by the review, or removed (with the reason)
ignored, errorthe intake refused the file (with the reason)
Release

{id, name, file, legal_age, videos_count, created_at, document_check, document_reason} -- file is the file you uploaded; legal_age is minor when the check read a minor in it, else adult; name is the people and places the document check read in the release (its file name until then); you type nothing about a release. Its details add a signed url that lasts 300 seconds and videos, each with its release_check. Model and location releases are identity documents: never public.

Every release is checked automatically. document_check (pending | approved | rejected) says whether the file is a real model and/or location release — it names the people and places it covers, and it is dated and signed (a minor's by a parent or guardian); a file that is not is rejected at once, with document_reason. Then each video it is attached to gets its own release_check: approved when its people and places are plausible for that video, rejected only when the video contradicts them (with reason). A rejected release is detached from that video only; the video itself is never held back or rejected. One release may be attached to any number of your videos; the same file sent again is recognised and the existing release, and its check, is reused.

The rules for model and location releases:

  • Add a model release for every person who can be recognised, and a location release for every private place.
  • A release is a PDF, JPG, PNG, WEBP or HEIC file of the signed document, up to 20 MB.
  • You type nothing about a release: the automatic check reads from the document who or what it covers, whether a person is a minor and who their guardian is, and names the release after them.
  • Upload a release once: it stays in your releases and can be added to any number of your videos. The same file uploaded again is the release you already have.
  • Each release is checked automatically: first the document itself (signed, dated, names the person or the place), then against each video it is on.
  • A rejected release never blocks your video; it is simply not shown to buyers. The reason is shown here.
  • Buyers see that releases exist; only buyers who licensed the video can download them.
  • Releases do not change the price or the licence of a video.
3D asset

{id, kind (file | archive | link), file, format, size, url, videos_count, created_at, item_check, item_reason, asset_kind, software, description}; its details add file_url (a signed link that lasts 300 seconds, once the virus scan allows it), screenshot_url, virus_scan (of the file and of the screenshot: pending | clean | infected | too_large) and videos, each with its asset_check and relation.

You type nothing about a 3D asset. asset_kind (what it is), software (what it is open in), description (a short name, shown as its name on Glymt) and each video's relation (how it appears in that video) are read by the automatic check, in free text, and are null until it has run or when it could not tell.

Every 3D asset is checked automatically, in two steps. item_check (pending | approved | rejected): its screenshot must show the asset open in the software that edits it — 3D modelling or CAD software, a game engine, or a world model for a link — with item_reason when it does not. Then each video it is attached to gets its own asset_check: approved when the asset plausibly appears in the video or is its world or scene, rejected only when it is clearly unrelated (with reason). A file the virus scan refuses, a file that is not what its extension says, or a file already on Glymt is rejected with its reason. A 3D asset never holds a video back; its presence is shown to buyers and the file is delivered only with a licence.

The rules for 3D assets:

  • Attach the 3D asset used to make this video, or the world or scene it was filmed in: a 3D file, or a link.
  • A single 3D file: .blend, .ma, .mb, .max, .c4d, .fbx, .glb, .obj, .3ds, .usd, .usda, .usdc, .usdz, up to 2,000 MB.
  • An archive: .zip or .7z, up to 5 GB. Unreal projects (.uproject) and multi-file glTF (.gltf) are accepted only inside an archive. Every file inside is scanned; an archive is refused if any file inside is larger than 2,000 MB, if it unpacks to more than 20 GB, or if it contains a program or script.
  • A link: any https address of a world model, a game engine scene, or a 3D CAD or modelling project. A link can be attached only once on Glymt.
  • Programs and scripts (.exe, .sh, .py, .bat and the like) are refused everywhere, including inside archives.
  • Every asset needs a screenshot (JPG, PNG or WEBP, up to 20 MB) of the asset open in the software that edits it.
  • Each asset is checked automatically: first that the screenshot shows it open in editing software, then that it is in the video or is its world or scene.
  • Upload an asset once: it stays in your 3D assets and can be added to any number of your videos. The same file is accepted only once on Glymt.
  • Buyers see that a 3D asset exists; only buyers who licensed the video can download it. 3D assets do not change the price or the licence of a video.

GET/

The API's name, version and documentation. No token. No parameters.

Request
curl -s https://api.glymt.com/upload/v1
Response 200
{
  "name": "Glymt Submitter API",
  "version": "1.2",
  "documentation": "https://glymt.com/submitter_api_documentation",
  "description": "{summary}"
}

POST/oauth/token

A Bearer token for 7200 seconds — see Authentication.

Errors: 400 invalid_request, 400 unsupported_grant_type, 401 invalid_client, 429.

Request
curl -s -X POST https://api.glymt.com/upload/v1/oauth/token \
  -u '{client_id}:{client_secret}' \
  -d grant_type=client_credentials
Response 200
{
  "access_token": "{access_token}",
  "token_type": "Bearer",
  "expires_in": 7200,
  "scope": "upload"
}

POST/batches/open

Opens a batch: 201 {batch_id, upload_url, submit}. No parameters. Your quota is checked first.

Errors: 400 invalid_request, 401 invalid_token, 403 (the quota refuses uploads now, with its reason), 429 monthly_ceiling (with reset_at).

Request
curl -s -X POST https://api.glymt.com/upload/v1/batches/open \
  -H 'Authorization: Bearer {access_token}'
Response 201
HTTP/1.1 201 Created

{
  "batch_id": "{batch_id}",
  "upload_url": "/upload/v1/batches/upload_url/{batch_id}",
  "submit": "/upload/v1/batches/submit/{batch_id}"
}
Response 429
HTTP/1.1 429 Too Many Requests

{ "error": "monthly_ceiling", "reset_at": "2026-11-01T00:00:00Z" }

POST/batches/upload_url/:batch_id

A presigned PUT URL (one hour) for one file of the batch. Body: kind (video | release | csv | 3d_asset | screenshot), filename, size (bytes), content_type (a video: video/*; a release: application/pdf, image/jpeg, image/png, image/webp or image/heic; a 3D asset: application/octet-stream; a screenshot: image/jpeg, image/png or image/webp; a CSV: text/csv). Send the PUT with exactly the Content-Type the answer names.

Errors: 400 invalid_request (a kind, filename, size or type out of its limits), 401 invalid_token, 404 not_found (a batch that was not opened), 422 (a video the intake would refuse: its size or format).

Request
curl -s -X POST https://api.glymt.com/upload/v1/batches/upload_url/{batch_id} \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "kind": "video", "filename": "beach_sunset_01.mp4", "size": 734003200, "content_type": "video/mp4" }'
Response 200
{
  "batch_id": "{batch_id}",
  "kind": "video",
  "file": "beach_sunset_01.mp4",
  "method": "PUT",
  "url": "{presigned_upload_url}",
  "headers": { "Content-Type": "video/mp4" },
  "expires_in": 3600
}
The upload
curl -s -X PUT '{presigned_upload_url}' \
  -H 'Content-Type: video/mp4' \
  --upload-file beach_sunset_01.mp4

POST/batches/submit/:batch_id

The batch's metadata: JSON {"videos": [row, …]} (1 – 500 rows) or {"csv": "<filename>"}. A row: file (required, uploaded to the batch), title, description, keywords (list), categories (Glymt category names), is_ai, submitter_video_id (unique per account), releases (release filenames of the batch or ids of registered releases), three_d_assets (ids of registered 3D assets), publish (default true).

publish true (or omitted): the video is published by itself once it passes our checks (and, for a new account, our approval) and goes straight to our automated review and curation. false: it waits unpublished in your account; open it on its edit page on Glymt to finish it and publish it.

Every row is checked against the batch and admitted by your quota, then handed to Glymt's intake. The answer lists every row (accepted or refused with its reason). When the quota refuses a row, the batch stops there: that row and the ones after it are refused, the rows before stay accepted, and the answer is 403 or 429 with reset_at.

Errors: 400 invalid_request (malformed body), 401 invalid_token, 403 / 429 (the quota), 404 not_found (the batch).

Request
curl -s -X POST https://api.glymt.com/upload/v1/batches/submit/{batch_id} \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{
        "videos": [
          {
            "file": "beach_sunset_01.mp4",
            "title": "Sunset over the beach",
            "description": "Golden hour on a quiet beach",
            "keywords": ["beach", "sunset", "sea", "waves"],
            "categories": ["Nature", "Travel"],
            "is_ai": false,
            "submitter_video_id": "SV-0001",
            "releases": ["release_ana.pdf"],
            "three_d_assets": [{asset_id}],
            "publish": true
          }
        ]
      }'
Response 200
{
  "batch_id": "{batch_id}",
  "accepted": 1,
  "refused": 1,
  "rows": [
    { "submitter_video_id": "SV-0001", "file": "beach_sunset_01.mp4", "result": "accepted", "reason": null, "submitted_video_id": {submission_id} },
    { "submitter_video_id": "SV-0002", "file": "city_02.mp4", "result": "refused", "reason": "file city_02.mp4 is not in the batch (upload it to its upload_url first)", "submitted_video_id": null }
  ]
}

GET/videos/list

Your submitted videos, newest first: page (from 1), per_page (1 – 100, default 50).

Errors: 400 invalid_request, 401 invalid_token.

Request
curl -s 'https://api.glymt.com/upload/v1/videos/list?page=1&per_page=50' \
  -H 'Authorization: Bearer {access_token}'
Response 200
{
  "count": {submissions},
  "page": 1,
  "per_page": 50,
  "videos": [ {Upload}, … ]
}

GET/videos/status/:video_id

One video by your submitter_video_id or its Glymt video id: {video: Upload}.

Errors: 400 invalid_request, 401 invalid_token, 404 not_found.

Request
curl -s https://api.glymt.com/upload/v1/videos/status/SV-0001 \
  -H 'Authorization: Bearer {access_token}'
Response 200
{ "video": {Upload} }

DELETE/videos/remove/:video_id

Removes one of your videos (by submitter_video_id or video id): 202.

Errors: 400 invalid_request, 401 invalid_token, 404 not_found, 409 not_a_video_yet (still queued), 423 locked (a lock-in holds the video).

Request
curl -s -X DELETE https://api.glymt.com/upload/v1/videos/remove/{video_id} \
  -H 'Authorization: Bearer {access_token}'
Response 202
HTTP/1.1 202 Accepted

{ "video_id": {video_id}, "state": "removing" }

POST/releases/register

Registers a model or location release uploaded to a batch (kind release). Body: batch_id and file -- nothing else: who or what the release covers, a minor and their guardian are read from the document by the automatic check. 202 while it registers; the same file again answers 200 with the existing release. (name and legal_age, asked by version 1.0, are accepted and ignored.)

Errors: 400 invalid_request, 401 invalid_token, 404 not_found (the file is not in the batch).

Request
curl -s -X POST https://api.glymt.com/upload/v1/releases/register \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "batch_id": "{batch_id}", "file": "release_ana.pdf" }'
Response 202
HTTP/1.1 202 Accepted

{ "file": "release_ana.pdf", "state": "registering", "list": "/upload/v1/releases/list" }

GET/releases/list

Your releases (metadata only): page, per_page (1 – 100, default 50).

Errors: 400 invalid_request, 401 invalid_token.

Request
curl -s 'https://api.glymt.com/upload/v1/releases/list?page=1&per_page=50' \
  -H 'Authorization: Bearer {access_token}'
Response 200
{
  "count": 1,
  "page": 1,
  "per_page": 50,
  "releases": [
    { "id": {release_id}, "name": "Ana Silva", "file": "release_ana.pdf", "legal_age": "adult", "videos_count": 1, "created_at": "2026-10-30T12:00:00Z",
      "document_check": "approved", "document_reason": null }
  ]
}

GET/releases/details/:release_id

One release and a signed link to its file that lasts 300 seconds.

Errors: 400 invalid_request, 401 invalid_token, 404 not_found.

Request
curl -s https://api.glymt.com/upload/v1/releases/details/{release_id} \
  -H 'Authorization: Bearer {access_token}'
Response 200
{
  "release": {
    "id": {release_id}, "name": "Ana Silva", "file": "release_ana.pdf", "legal_age": "adult", "videos_count": 1, "created_at": "2026-10-30T12:00:00Z",
    "document_check": "approved", "document_reason": null,
    "url": "{signed_release_url}", "expires_in": 300,
    "videos": [ { "video_id": "{video_token}", "release_check": "approved", "reason": null, "checked_at": "2026-10-30T12:09:00Z" } ]
  }
}

DELETE/releases/remove/:release_id

Removes one of your releases: 202.

Errors: 400 invalid_request, 401 invalid_token, 404 not_found.

Request
curl -s -X DELETE https://api.glymt.com/upload/v1/releases/remove/{release_id} \
  -H 'Authorization: Bearer {access_token}'
Response 202
HTTP/1.1 202 Accepted

{ "release_id": {release_id}, "state": "removing" }

GET/account/summary

Read only: your client, your videos by status, published and sales counts, your earnings and unpaid earnings, and your upload quota (this month admitted and its ceiling, the reset, the lifetime allowance). No parameters.

Errors: 400 invalid_request, 401 invalid_token.

Request
curl -s https://api.glymt.com/upload/v1/account/summary \
  -H 'Authorization: Bearer {access_token}'
Response 200
{
  "client": { "name": "{client_name}", "client_id": "{client_id}" },
  "videos": { "submitted": 12, "processing": 1, "awaiting_approval": 2, "published": 8, "rejected": 1, "removed": 0 },
  "published_count": 8,
  "sales_count": 3,
  "earnings": 21.5,
  "unpaid_earnings": 7.25,
  "quota": {
    "month_admitted": 12,
    "monthly_ceiling": {monthly_ceiling},
    "resets_at": "2026-11-01T00:00:00Z",
    "lifetime_admitted": 12,
    "lifetime_allowance": {lifetime_allowance}
  }
}

GET/account/sales

Your sales, newest first: page, per_page (1 – 100, default 50), and optionally start_date with end_date (YYYY-MM-DD, together). Each sale: video_id, sold_at, channel — which videos sold and when; your totals are in /account/summary.

Errors: 400 invalid_request, 401 invalid_token.

Request
curl -s 'https://api.glymt.com/upload/v1/account/sales?page=1&start_date=2026-10-01&end_date=2026-10-31' \
  -H 'Authorization: Bearer {access_token}'
Response 200
{
  "count": 1,
  "page": 1,
  "per_page": 50,
  "sales": [
    { "video_id": {video_id}, "sold_at": "2026-10-20T15:00:00Z", "channel": "Glymt" }
  ]
}

Errors

Every error is JSON with its HTTP status — {"error": code, "message": text}, or the OAuth form {"error": code, "error_description": text} for the token and the Bearer checks. Nothing answers 200 with an error.

Error body
{ "error": "invalid_request", "message": "unknown parameter(s): bucket" }
StatuserrorWhen
400invalid_request, unsupported_grant_typea missing, unknown or malformed parameter; a malformed body
401invalid_clientthe token request: unknown client, wrong secret, inactive client or owner
401invalid_tokenno token, or one unknown, expired, revoked or issued for the Reseller API
402—not answered by the Submitter API
403the quota's reasonthe upload quota refuses uploads now
404not_foundan unknown path, batch, video or release
409not_a_video_yetremoving a video the intake has not created yet
413—a request body above the size limit, refused before it reaches the API (files go by their presigned URL)
415—not answered by v1: a body that is neither JSON nor form-encoded is not read, and the request answers 400
422the intake's reasonan upload URL for a video the intake would refuse (size or format)
423lockedremoving a video a lock-in holds
429monthly_ceiling, too_many_requeststhe monthly upload ceiling (with reset_at), or a rate limit (with Retry-After)
500server_erroran error on Glymt's side; retry later
404
{ "error": "not_found", "documentation": "https://glymt.com/submitter_api_documentation" }

POST/3d_assets/register

Registers a 3D asset uploaded to a batch. Body: batch_id, screenshot (required; uploaded with kind screenshot) and either file (uploaded with kind 3d_asset) or url (a world link, https). 202 while it registers; it then appears in /3d_assets/list and is checked as it goes (how). The same file already on Glymt is rejected as a duplicate once scanned.

Errors: 400 invalid_request (a name, a format or a size out of the rules; both or neither of file and url), 401 invalid_token, 404 not_found (a file not in the batch), 409 conflict (the world link is already on Glymt).

Upload URLs
curl -s -X POST https://api.glymt.com/upload/v1/batches/upload_url/{batch_id} \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "kind": "3d_asset", "filename": "beach_scene.blend", "size": 48211533, "content_type": "application/octet-stream" }'

curl -s -X POST https://api.glymt.com/upload/v1/batches/upload_url/{batch_id} \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "kind": "screenshot", "filename": "beach_scene_blender.png", "size": 912044, "content_type": "image/png" }'
Request
curl -s -X POST https://api.glymt.com/upload/v1/3d_assets/register \
  -H 'Authorization: Bearer {access_token}' \
  -H 'Content-Type: application/json' \
  -d '{ "batch_id": "{batch_id}", "file": "beach_scene.blend", "screenshot": "beach_scene_blender.png" }'

# or a world link
-d '{ "batch_id": "{batch_id}", "url": "https://{world_link}", "screenshot": "world_editor.png" }'
Response 202
HTTP/1.1 202 Accepted

{ "file": "beach_scene.blend", "url": null, "screenshot": "beach_scene_blender.png", "state": "registering", "list": "/upload/v1/3d_assets/list" }

GET/3d_assets/list

Your 3D assets: page, per_page (1 – 100, default 50).

Errors: 400 invalid_request, 401 invalid_token.

Request
curl -s 'https://api.glymt.com/upload/v1/3d_assets/list?page=1&per_page=50' \
  -H 'Authorization: Bearer {access_token}'
Response 200
{
  "count": 1,
  "page": 1,
  "per_page": 50,
  "three_d_assets": [
    { "id": {asset_id}, "kind": "file", "file": "beach_scene.blend", "format": "blend", "size": 48211533, "url": null,
      "videos_count": 1, "created_at": "2026-11-18T12:00:00Z", "item_check": "approved", "item_reason": null,
      "asset_kind": "beach environment", "software": "Blender 4.1", "description": "Sunny tropical beach with palm trees" }
  ]
}

GET/3d_assets/details/:asset_id

One 3D asset: its checks, each video's check, the virus scans, its screenshot and a signed link to its file that lasts 300 seconds.

Errors: 400 invalid_request, 401 invalid_token, 404 not_found.

Request
curl -s https://api.glymt.com/upload/v1/3d_assets/details/{asset_id} \
  -H 'Authorization: Bearer {access_token}'
Response 200
{
  "three_d_asset": {
    "id": {asset_id}, "kind": "file", "file": "beach_scene.blend", "format": "blend", "size": 48211533, "url": null,
    "videos_count": 1, "created_at": "2026-11-18T12:00:00Z", "item_check": "approved", "item_reason": null,
    "asset_kind": "beach environment", "software": "Blender 4.1", "description": "Sunny tropical beach with palm trees",
    "file_url": "{signed_file_url}", "expires_in": 300, "screenshot_url": "{screenshot_url}",
    "virus_scan": { "file": "clean", "screenshot": "clean" },
    "videos": [ { "video_id": "{video_token}", "asset_check": "approved", "reason": null, "relation": "the whole beach scene", "checked_at": "2026-11-18T12:09:00Z" } ]
  }
}

DELETE/3d_assets/remove/:asset_id

Removes one of your 3D assets from every video it is on: 202. Buyers who licensed a video with it keep their copy.

Errors: 400 invalid_request, 401 invalid_token, 404 not_found.

Request
curl -s -X DELETE https://api.glymt.com/upload/v1/3d_assets/remove/{asset_id} \
  -H 'Authorization: Bearer {access_token}'
Response 202
HTTP/1.1 202 Accepted

{ "asset_id": {asset_id}, "state": "removing" }

Limits

  • Token requests: 10 a minute and 100 an hour per client, 20 a minute per IP address.
  • Every other call: 600 a minute per token — then 429 with Retry-After (seconds).
  • Uploads: your account's upload quota (/account/summary); a batch holds up to 500 rows; an upload URL lasts one hour.

Changelog

API version 1.2.

  • 1.2 — a release is its file alone: /releases/register takes batch_id and file; name and legal_age are no longer asked (accepted and ignored); replies add file, and legal_age is read from the document -- a release's name is what the automatic check reads in it. A release's file type and size are checked the same way on every route.
  • 1.1 — 3D assets: upload kinds 3d_asset and screenshot; /3d_assets/register, /list, /details, /remove; rows and the CSV name registered assets in three_d_assets; the rules for releases and 3D assets written out in full.
  • 1.0 — OAuth 2.0 client credentials (client ID and secret; Bearer tokens of 7200 seconds, one per API); every endpoint at its own path (the table above); uploads by presigned URL — no storage account needed, nothing made public; JSON metadata with per-row results (CSV still accepted); statuses and sales read only. The earlier login with a username and password and the earlier /videos, /releases and /users endpoints are removed.
admin login browse the video dataset site administration php login page configuration file