Token Endpoint - Page does not Exist anymore

Hi,

We are using to get info from peplink API - by using the “Token Endpoint link”: https://api.ic.peplink.com/api/oauth2/token.
This link is no longer exist starting from your new release.
How \ Where we get the endpoint token?
We need to fix it as soon as possible.
Thank you.

Nadav

Hi,

https://api.ic.peplink.com/api/oauth2/token is a POST request endpoint.
Please obtain the token via POST request.

https://api.ic.peplink.com/api/oauth2/token
Required Parameters: client_id, client_secret, grant_type, redirect_uri, code
Method: POST
Form Encode: application/x-www-form-urlencoded

2 Likes

Hey Bonnie,
Currently we send all required parameters except of redirect_uri and code.
It used to work without those parameters? what has changed?
And if we want to add those parameters, what should be the values?

Thanks,
Sameh

Hey, it’s really urgent, can you please help

Hi Sameh,
We would need more details for checking.
Would you mind send below info to [email protected]?

  • the Incontrol user email
  • client_id you used
  • if possible, the error response from the API
1 Like

Hey,
Thanks for your. response
client_id : 70ba3ba42ac245012c6f583ae3a9f0f1
user [email protected]
The error we are getting is stats 401
Sending this to the mail too