Skip to main content

GET /scripts/{script_id}/token

Reports whether a token exists and its prefix. Never returns the value. Authentication: DoglyTdc session only (dashboard). Script tokens and OAuth are not accepted. Path parameters: script_id Response: { exists, prefix, created_at, last_used_at }
cURL

POST /scripts/{script_id}/token/reset

Generates a new token (dts_…). Shown once; the previous one becomes invalid. Owner only. Authentication: DoglyTdc session only (dashboard). Script tokens and OAuth are not accepted.
The dts_… token appears once. The previous one becomes invalid immediately.
Path parameters: script_id Response: { token, prefix }
cURL

DELETE /scripts/{script_id}/token

Revokes the script token. Owner only. Authentication: DoglyTdc session only (dashboard). Script tokens and OAuth are not accepted. Path parameters: script_id Response: 204
cURL