Solved

Forbidden

  • 21 September 2023
  • 1 reply
  • 84 views

I’ve tried to send new message reply with signature via API:
POST https://api2.frontapp.com/conversations/cnv_xyz/messages

 However I’ve got an error like this:

{
"_error": {
"status": 403,
"title": "Forbidden",
"message": "This agent is not allowed to read the \"signature\" with ID: \"1234567\""
}
}

So I tried to list signatures of my account like this:

GET https://api2.frontapp.com/teammates/tea_xyz/signatures/
But  I’ve got something similar

{
"_error": {
"status": 403,
"title": "Forbidden",
"message": "You do not have access to the resources of this teammate."
}
}

What should I do in order to send message with signature?
Where should I add some rights/permission?

icon

Best answer by jason 21 September 2023, 17:06

View original

1 reply

Userlevel 4
Badge +7

Hi There,

This is typically caused by one of two things:

  1. The API token does not have the Private Resources scope, so it can not access resources (like signatures) owned by teammates
  2. The teammate has not allowed API access to their resources (See API requests failing for private resources article)

 

 

Reply