Because Layout/Template should only be visible to their owner (except shared ones), so I’m afraid there’s no direct API call retrieving layouts from all senders.
But since it’s account/API_KEY binded, you’d first retrieve all senders’ api keys then get layout IDs for them each, in below workflow:
(1) retrieve all sender list, guide here:
Just note that,
* “summary=true” this parameter would hide some part of the return result and reduce the response time
* this call returns you all shared layouts, so there’s overlaps if you did the same call to all senders. You probably want to have a filter to the return results on “sender” node and check the owner’s email with the current api key’s account.
I understand that it’s a complex workflow, so if you told me your programming language, I can create some sample code for you.
Hope this could help!
Duo Liang OneSpan Junior Technical Evangelist
This reply was modified 3 weeks, 1 day ago by Duo_Liang.