Skip to main content

i tried to send api request to create a new ticket , but i got an error .

{

    "code": "invalid_credentials",

    "message": "You have to be logged in to perform this action."

}

important to say that i logged in to the freshdesk in this time...

Hi.
Usually I do use a central credential object which I have stored in the Credentials Admin settings.
This requires you to sacrifice an Agent license for a dedicated API user only used for API actions. But also you don’t need to change all Workflows if the user with the credentials leaves the company.

Webhook:

 

Credentials:

 


In postman this would look like this:

 


Hi @msconfig87 

Hope you are well.

Could you please share the endpoint url(stripping off your domain) and Payload for us to take a look at it. Based on your previous Screenshot, I’m able to see that you’re trying to create a ticket with Assets Payload used. You may go through the Freshservice Documentation of APIs: https://api.freshservice.com/v2

This would help and resolve your issue. Feel free to reach out in case of queries!

Thanks and Regards,

Amy!


I am fine, @Rontw asked this question


Reply