Unable to access account endpoint

curl --location 'https://spritle.freshchat.com/v2/accounts/configuration' \
--header 'Authorization: Bearer eyJraW' \
--header 'content-type: application/json'

When I try the above endpoint the server throws the below error with 401 status

{
    "success": false,
    "error_code": 11,
    "error_message": "Unauthorized"
}

the API key works fine with other endpoints.

Is this endpoint deprecated?

Hi guys!

has anyone faced this issue?

Hey @Bene_Immanuel,
It is mostly because the access token/API key generated doesn’t have access to list account configurations.

Probably you can get it confirmed by Freshchat support, if you need to, I can raise a support ticket on your behalf.

1 Like

Thank you for the efforts, @zach_jones_noel.

This user has the topmost access.

I’ll raise a support ticket.

Thank you

2 Likes

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.