AtomicPlayerAtomicPlayer
atomicplayer.ai
  • English
  • Español
  • Português
AtomicPlayer
  • Website
  • Dashboard
API docs
  • Introduction
  • Authentication
  • API reference

© 2026 AtomicPlayer

Information
Videos
    List videosgetCreate a videopostGet a videogetDelete a videodeleteUpdate a videopatchCreate an upload URLpostGet upload statusget
Folders
    List foldersgetCreate a folderpost
Tags
    List tagsgetCreate a tagpostReplace video tagsput
Player
    List playersgetGet a playergetCreate a playerpostUpdate a player draftpatchPublish a playerpost
Analytics
    Analytics overviewgetVideo analyticsgetRetention curvegetPlayback funnelgetRevenuegetCohortsgetAudiencegetLive viewersgetReplay sessionsgetVideo summariesget
Webhooks
    List webhook eventsgetList webhooksgetCreate a webhookpostGet a webhookgetDelete a webhookdeleteUpdate a webhookpatchList deliveriesgetSend a test eventpostRotate the signing secretpostWebhook statsget
API keys
    List API keysgetCreate an API keypostRevoke an API keydeleteUpdate an API keypatch
Schemas
AtomicPlayer API
AtomicPlayer API

API keys

Download schema

Create and revoke keys. These routes use a dashboard session, not an API key.


List API keys

GET
https://api.atomicplayer.ai
/v1/workspaces/{workspaceId}/api-keys

Uses a dashboard session. Plaintext keys are never returned again.

List API keys › path Parameters

workspaceId
​string · uuid · required

workspaceId

List API keys › Responses

List API keys

success
​boolean · enum · required
Enum values:
​object · required
error
​required
GET/v1/workspaces/{workspaceId}/api-keys
curl --request GET \ --url https://api.atomicplayer.ai/v1/workspaces/:workspaceId/api-keys
Example Responses
{ "success": true, "data": { "keys": [ { "id": "00000000-0000-4000-8000-000000000060", "name": "Production", "prefix": "apk_a1b2", "scopes": [ "read", "write" ], "last4": "9f3c" } ] }, "error": null }
json
application/json

Create an API key

POST
https://api.atomicplayer.ai
/v1/workspaces/{workspaceId}/api-keys

Returns the plaintext key once. It starts with apk_.

Create an API key › path Parameters

workspaceId
​string · uuid · required

workspaceId

Create an API key › Request Body

name
​string
scopes
​string[]

Create an API key › Responses

Create an API key

success
​boolean · enum · required
Enum values:
​object · required
error
​required
POST/v1/workspaces/{workspaceId}/api-keys
curl --request POST \ --url https://api.atomicplayer.ai/v1/workspaces/:workspaceId/api-keys \ --header 'Content-Type: application/json' \ --data ' { "name": "Production", "scopes": [ "read", "write" ] } '
Example Request Body
{ "name": "Production", "scopes": [ "read", "write" ] }
json
application/json
Example Responses
{ "success": true, "data": { "id": "00000000-0000-4000-8000-000000000060", "key": "apk_…", "scopes": [ "read", "write" ] }, "error": null }
json
application/json

Revoke an API key

DELETE
https://api.atomicplayer.ai
/v1/workspaces/{workspaceId}/api-keys/{keyId}

The key stops working immediately.

Revoke an API key › path Parameters

workspaceId
​string · uuid · required

workspaceId

keyId
​string · uuid · required

keyId

Revoke an API key › Responses

Revoke an API key

success
​boolean · enum · required
Enum values:
​object · required
error
​required
DELETE/v1/workspaces/{workspaceId}/api-keys/{keyId}
curl --request DELETE \ --url https://api.atomicplayer.ai/v1/workspaces/:workspaceId/api-keys/:keyId
Example Responses
{ "success": true, "data": { "deleted": true }, "error": null }
json
application/json

Update an API key

PATCH
https://api.atomicplayer.ai
/v1/workspaces/{workspaceId}/api-keys/{keyId}

Changes the name or the scopes. The secret stays the same.

Update an API key › path Parameters

workspaceId
​string · uuid · required

workspaceId

keyId
​string · uuid · required

keyId

Update an API key › Request Body

name
​string
scopes
​string[]

Update an API key › Responses

Update an API key

success
​boolean · enum · required
Enum values:
​object · required
error
​required
PATCH/v1/workspaces/{workspaceId}/api-keys/{keyId}
curl --request PATCH \ --url https://api.atomicplayer.ai/v1/workspaces/:workspaceId/api-keys/:keyId \ --header 'Content-Type: application/json' \ --data ' { "name": "Production", "scopes": [ "read" ] } '
Example Request Body
{ "name": "Production", "scopes": [ "read" ] }
json
application/json
Example Responses
{ "success": true, "data": { "id": "00000000-0000-4000-8000-000000000060", "name": "Production", "scopes": [ "read" ] }, "error": null }
json
application/json

Webhooks