Sorry for my above message identation (I forgot to use appropriate edition options). I’m reallu sorry for that.
Having an equivalent request that would REST instead of GraphQL is an acceptable work around for me.
All I currently need is way to list all SIP accounts with secret and display names.
Working on the same platform (FreePBX 15, Asterisk 16.4.1) , I added a chansip extension.
Looking at SIP traffic, I observed Asterisk required PJSIP or chansip extension to use configured SIP secret.
I exported extension data with Bulk Handler tools.
For both, a “secret” field was and “password” wset !