Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You will need a user that has admin rights to write the new version of the T&Cs

Get an Auth Token from here like this: How to get a Token for our APIs

Use this command to set it:

curl -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_AUTH_TOKEN" \
  -d '{
    "query": "mutation CreateTermsAndConditions { createTermsAndConditions( termsAndConditions: \"just a test\nmulti line\n# Titles work as well and markdown\" ) { acceptanceStatus companyId createdAt createdBy id isUniqueTermsAndConditions text } }"
  }' \
  YOUR_REQUEST_URL

you can use any markdown in the terms and conditions. As described here: https://www.markdownguide.org/basic-syntax/


 

  • No labels