Endpoints and queries

Endpoints and queries

All Creatopy Public API queries are made on a single GraphQL endpoint, which only accepts POST requests:

https://graphql.creatopy.com/public

curl -X POST \
  https://graphql.creatopy.com/public \
  -H 'Content-Type: application/graphql' \
  -H 'Authorization": Bearer: {authorization_token}' \
} \
  -d '
  query getDownloadStatus {
  download(input: { downloadId: "{downloadId}" }) {
    status
    creatives {
      __typename
      ... on DownloadCreativeDesign {
        id
        status
        url
      }
      ... on DownloadCreativeSet {
        creatives {
          id
          status
          url
        }
      }
    }
  }
}
  '

Last updated