API reference

currentTermsOfService

The currentTermsOfService query. Returns TermsOfService.

graphql
currentTermsOfService: TermsOfService

Returns

TermsOfService

Example

graphql
query CurrentTermsOfService {
  currentTermsOfService {
    id
    url
  }
}
bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "query { currentTermsOfService { __typename } }"}'