Skip to main content

Identifying Client

To identify your client when sending requests to Graph API you can provide us with apollographql-client-name and apollographql-client-version headers. If you are using ApolloClient to interact with our API, you just need to specify name and version arguments.

curl -X POST -H "Content-Type: application/json" \
// highlight-next-line
-H "apollographql-client-name: dc-curl-client" \
// highlight-next-line
-H "apollographql-client-version: 1.0.0" \
-H "x-auth-token: YOUR_API_SESSION_TOKEN" \
--data '{"query":"query getMyAccounts { me { accounts(first: 5) { nodes { id name } } }}","variables":{}}' \
https://graph.deepcrawl.com/