...
Code Block |
---|
curl --location 'https://gateway.<baseUrl>/chat/graphql' \ --Hheader "'Content-Type: application/json"' \ --Hheader "'Authorization: Bearer YOUR_AUTH_TOKEN"{TOKEN}' \ --ddata '{ "query": "mutation CreateTermsAndConditionscreateTermsAndConditions($termsAndConditions: String!) {\n createTermsAndConditions( termsAndConditions: $termsAndConditions) {\"justn a test\nmulti line\n# Titles work as well and markdown\" ) { acceptanceStatus companyId createdAt createdBy id isUniqueTermsAndConditions text } }" }' \id\n text\n isUniqueTermsAndConditions\n createdBy\n createdAt\n companyId\n }\n}","variables":{"termsAndConditions":"just a test\nmulti line\n# Titles work as well and markdown"}}' |
You can use any markdown in the terms and conditions, as described here: https://www.markdownguide.org/basic-syntax/
...