FreePBX business APP, Asterisk Rest Interface Issue

Hello,
I created a DigitalOcean droplet server which includes FreePBX business app.
Here is an app description: It includes Asterisk 18 and freePBX 16 in it.
And I could access Admin panel (GUI) via IP address.
I got Restful API url there (ip_address/admin/api/api/rest)
When I access this url using Postman, I get an error:
{
“error”: “access_denied”,
“message”: “The resource owner or authorization server denied the request.”,
“hint”: “Missing "Authorization" header”
}
But I am not sure what kind of authorization header FreePBX (asterisk rest interface) requires.
Please let me know if anyone has experienced it or has a smart idea.
Thank you.

https://sangomakb.atlassian.net/wiki/spaces/PG/pages/24182986/API

Covers auth headers and other requirements.

@lgaetz FYI, I just found that pretty much all the links in the API page I posted get 403 Forbidden errors when clicked.

I followed this guide, but I got an error. “invalid_client”.
(sangomakb. atlassian .net /wiki/spaces/PG/pages/25690223/REST+API)

I put necessary parameters into Authorization OAuth2 (configure new token) field, but when I get new access token, I got an error. “invalid client”

@lgaetz Could you please check my problem and help me?

Hello.
I have a problem in FreePBX use.
I have created a DigitalOcean droplet server that includes FreePBX business app. After that, I can access Web Admin panel of FreePBX via IP address. And then I created an application and got client credentials. I tried to get new access token by authentication (OAuth 2.0) using Postman. Here is a guide I refer: sangomakb. atlassian. net/wiki/spaces/PG/pages/25690223/REST+API
But I got an error (invalid client).
How can I fix this issue?
Thank you.

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