Skip to content

drafts

Drafts you or the assistant wrote: list, read, the approved ones with their text, save, edit as your own text, archive.

List your drafts

Request

Your drafts, newest change first, without their text. Use this when you need a draft's id, or want to see which drafts exist or are approved. Newest change first, without their text. approved=true keeps only approved drafts, approved=false only the rest. total is null: this read does not count.

Security
bearerKey
Query
cursorstring, [ 1 .. 500 ] characters
limitinteger, [ 1 .. 100 ]
Default:25
approvedboolean
curl -i -X GET \
  https://docs.societyhealth.co/_mock/docs/openapi/api/v1/drafts \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Done.

Bodyapplication/json
okanyrequired
Value:true
dataobjectrequired
Response
{ "ok": true, "data": { "items": [ … ], "nextCursor": null, "total": null } }