Expand my Community achievements bar.

AEM 6.5.17 graphql headless consumption


Level 7



Given I have content fragments , graphql queries

How to execute gql queries on backend osgi services? 

Is there any authentication needed (any authentication token etc or service user etc) or just mention URL end point, query, variables to get response?


How is this done? given content fragment data, queries present on both author , publish instances.


Also, if someone accessing this from a react or angular application , how does this react or angular application gets authenticated? to access headless data.


I appreciate inputs.

3 Replies


Community Advisor

@sreenu539 Please check the below pic which API(CF API) to use if you are querying in AEM backend service



Regarding the authentication setup for the persistent queries please check the below blogs












Level 7

Hi @Saravanan_Dharmaraj 


Thanks for your inputs. I am still using aem 6.5.17 and not AEMaaCS , how could I access graphql end points , do I need to still provide user name, password somewhere?



@sreenu539 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni