Atlassian connect app graphql

Can an Atlassian Connect app access the GraphQL API? I get a 401 when using the JWT token.