Authorization Failed to access freshdesk api

Hi there, recently - as far back as mid October, the following query used to work but now i am getting 401Unauthorized error - meanwhile i am able to login into freshdesk with the same credentials with no issues.

curl -H "Authorization:Basic XXX" -H "Content-Type: application/json" -X GET ''

and also the following does not work

curl -u "username:password" -H "Content-Type: application/json" -X GET ''

Also my profile settings does not have a link to generate a token. Only shows “focus mode”

any help would be appreciated …

thank you

Any help would be appreciated.

You will need to use API key for Basic auth. You can still see API key from the Profile Settings page with focus mode turned on. This will only be visible to agents with accounts verified.

Hmm …Thank you for your reply.

How do i verify my account – i have been an agent for quite some time answering support tickets and get emails with no issues.

I don’t see the api-key placeholder as per your screenshot.

I see the following on my profile settings -