Getting Started API Reference - GraphQL
QuoteCloud is a web application for creating, sharing, and tracking documents online. You can learn more about the application at our website. Below you will learn how to use QuoteCloud's development tools to further integrate QuoteCloud into your custom application or workflow.
The QuoteCloud API is based on the GraphQL standard. All endpoints are accessible from a single GraphQL based connection point https://my.quotecloud.net/api/graphql. This returns a JSON-encoded body of a predefined spec.
BASE URL
To use the QuoteCloud API you need to use your account email address, API ID, & API key to authenticate the request. This is available in your account under -> (Top Dashboard Nav) Configuration > Company Settings > Integration.
curl -X POST \
-H "Content-Type: application/json" \
-d '{"query": "{ hello }"}' \
https://my.quotecloud.net/api/graphql
Info: This is a example query and will not work
(async function () {
const data = JSON.stringify({
query: `{
hello
}`,
});
const response = await fetch(
'https://my.quotecloud.net/api/graphql',
{
method: 'post',
body: data,
headers: {
'Content-Type': 'application/json',
'Content-Length': data.length,
},
}
);
const json = await response.json();
console.log(json.data);
})();
Info: This is a example query and will not work
import {
ApolloClient,
InMemoryCache,
ApolloProvider,
useQuery,
gql
} from "@apollo/client";
const client = new ApolloClient({
uri: 'https://my.quotecloud.net/api/graphql',
cache: new InMemoryCache()
});
client
.query({
query: gql`
query helloWorld {
hello
}
`
})
.then(result => console.log(result));
Info: This is a example query and will not work
JUST GETTING STARTED?
Check out our development quickstart guide.
NOT A DEVELOPER?
Use apps from our partners to get started with QuoteCloud and to do more with your QuoteCloud account—no code required.