API Reference
Collaboration
Real-time collaboration and AI features powered by Tiptap Cloud.
POST
Generates a JWT for Tiptap Cloud collaboration on a specific document.
application/json- body
contentId*stringContent item to collaborate on
Format
uuidCollaboration token generated
application/json- response
token*stringJWT token
documentName*stringDocument name in format siteId:contentId
appId*stringexpiresAt*stringFormat
date-timecurl -X POST 'https://example.com/api/collaboration/token' \ -H 'Content-Type: application/json' \ -d '{ "contentId": "21aa1683-ca25-4edf-bc18-01ad04a4821b"}'Example Response
{ "token": "string", "documentName": "string", "appId": "string", "expiresAt": "2019-08-24T14:15:22Z"}POST
Generates a JWT for Tiptap AI features.
AI token generated
application/json- response
token*stringappId*stringexpiresAt*stringFormat
date-timecurl -X POST 'https://example.com/api/collaboration/ai/token'Example Response
{ "token": "string", "appId": "string", "expiresAt": "2019-08-24T14:15:22Z"}