Skip to main content
POST
/
orgs
/
{org_id}
/
content
/
sign
cURL
curl --request POST \
  --url https://api.timbal.ai/orgs/{org_id}/content/sign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>"
}
'
{
  "url": "<string>",
  "signed_url": "<string>"
}

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
string
required

Body

application/json

Request to mint a fresh CDN URL for a stored content object.

url
string
required

A content URL previously returned by the API (signed or unsigned), or a bare object key. The server resolves it back to a known object it owns, re-checks your access, and mints a fresh URL — useful when a cached signed URL has expired and you want a new one without re-fetching the whole parent resource.

Response

Freshly-signed content URL

A freshly-minted CDN URL pair for a stored content object.

url
string
required

Legacy unsigned CDN URL. Populated for backwards compatibility; prefer signed_url when present.

signed_url
string | null

CloudFront signed URL for private content. Omitted when the object is public or signing is unavailable.