Set the X-PROJECT-ACCESS-TOKEN
in the headers for your query.
POST the following query to the Firmhouse API to get a list of subscriptions with this email address.
query Subscriptions {
subscriptions(email: "email@example.com") {
pageInfo {
startCursor
endCursor
hasNextPage
hasPreviousPage
}
totalCount
edges {
cursor
node {
id
token
email
createdAt
stoppedAt
}
}
}
}
More information on this query and input parameters:
https://developer.firmhouse.com/graphql/objects/Query#subscriptions