{ "opencollection": "1.0.0", "info": { "name": "Scrive Document Access Control Callbacks API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://oauth2.scrive.com/oauth2/authorization", "accessTokenUrl": "https://oauth2.scrive.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Callbacks", "type": "folder" }, "items": [ { "info": { "name": "Trigger a manual callback", "type": "http" }, "http": { "method": "POST", "url": "https://scrive.com/api/v2/documents/:document_id/callback", "params": [ { "name": "document_id", "value": "", "type": "path" } ] }, "docs": "Triggers a callback (HTTP POST) to the document's configured api_callback_url. Scrive also automatically POSTs a callback when a document changes to pending, closed, canceled, timedout, or rejected, retrying failed deliveries." } ] } ], "bundled": true }