I have 550 Saved Reply (Messaging) Agent Assets and 450 Saved Reply (Email) Agent Assets.
When calling the APIs to list the assets, (GET /contact_center/asset_library/assets) I am not getting any of the email. All of the messaging Saved Replies have an asset type of saved_reply.
How do I get the API to return the Saved Reply (Email) Agent Assets?
Hi @NateCCIE , are you using the query parameter asset_type: saved_reply in the initial request?
Can you also try getting an individual email agent asset with the endpoint get/contact_center/asset_library/assets/{assetId} by querying with one of the individual assetId to confirm it exists?
No filtering at all on the /v2/contact_center/asset_library/assets call, just getting everything with paging and then checking if the asset_type is savedReply, and loggging if I see anything else. I get all of the system assets, and all of the messaging assets (saved reply) but none of the email saved replies.
Hi @NateCCIE , please try using the query parameter. I want to rule out whether it is returned with parameter type it should be designated as.
So I see your code for fetching by assetId β great. Just to be redundant, can you confirm that itβs successfully printing the expected results and youβre getting the full output?