Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use this command to set it:

Code Block
curl -X POST-location 'https://gateway.<baseUrl>/chat/graphql' \
  -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/

...