cmsPreview tokens
Mint a preview token
A token that reads this project's content with drafts and pending changes, for one hour, on `api.` only (`Authorization: Preview <token>`).
POST
apiKeyheader
AuthorizationBearer <token>A project API key: pk_... (public, read published content) or sk_... (secret, the actions it was given).
projectId*stringThe token.
application/json- response
token*stringSend as Authorization: Preview <token>.
expiresAt*stringFormat
date-timecurl -X POST 'https://api.tintage.com/v1/cms/projects/string/preview/tokens'Example Response
{ "token": "string", "expiresAt": "2019-08-24T14:15:22Z"}Was this page helpful?