API reference
currentTermsOfService
The currentTermsOfService query. Returns TermsOfService.
currentTermsOfService: TermsOfServiceReturns
Example
query CurrentTermsOfService {
currentTermsOfService {
id
url
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "query { currentTermsOfService { __typename } }"}'