Legacy API Reference
cURL
curl --request POST \ --url https://enterprise-api.writer.com/cowrite/organization/{organizationId}/team/{teamId}/generate \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data '{ "templateId": "<string>", "inputs": [ { "name": "<string>", "value": [ "<string>" ] } ] }'
{ "id": 123, "organizationId": 123, "teamId": 123, "documentId": "<string>", "templateId": "<string>", "body": "<string>", "title": "<string>", "inputs": "<any>", "deleted": true, "createdUserId": 123, "creationTime": "2023-11-07T05:31:56Z" }
The response is of type object.
object
Was this page helpful?