Skip to main content

I’m an adminstrator role user in freshdesk account.
I need to migrate agents from freshdesk source account to destination account.

In postman I Posted a contacts successfully with correct API key and url:
http://{{dest-baseurl}}/contacts


Now i am posting agents with same api key and same base url but it is giving me 403 error.

http://{{dest-baseurl}}/agents

POSTMAN ERROR:

{

"code": "access_denied",

"message": "You are not authorized to perform this action."

}

 

Please note that i can successfully add Agents from the freshdesk UI. 

Adminstration > Equipment > Agents > Add New Support Agent.

This leads me to a freshworks domain where i can create agents successfully.

Hi Afaq,

I hope you are doing well :)

I understand that you want to migrate agents from one account to another. Note that there is no API call to migrate agents https://developers.freshdesk.com/api/#agents , you can only view, list, create, update, search and delete agents. With respect to the error of access denied you are facing please confirm if you are using a simple GET call to list the agents or doing a PUT call to update and agent. Since you have admin access to Freshdesk, you cannot update details of account admin or supervisor (unless you have account admin or supervisor role in Freshdesk)

Feel free to respond to this thread for any queries :)

Thank you


Reply