News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How do I authenticate with the Engage API using a JWT?
Tags: rest api
Jun 11, 2020 at 10:54am   •   2 replies  •  0 likes
Rupak Gautam

Hi there I am trying to hit this URL:
https://engage.ringcentral.com/voice/api/v1/admin/accounts/12290000/reportsStreaming

I am using an API key. However, I get a 401 error and in the body I get the message saying JWT missing. Would you please be able to assist me with this issue?

2 Answers
answered on Jun 22, 2021 at 12:36pm  
thumbnail-screen-shot-2021-06-22-at-31547-pm.pngI hope someone can help.
I am having trouble getting a laravel app to login to the ring central API.

Ring Central Application Details:
- Ring Central Username: cboutros@cellularmagician.ca

- App Description: [CLONE] App to monitor incoming SMS,voicemails. This also can read the history of sms and call recording for our technicians. All the sms/phone data will be linked via a workorder phone number.
- App Permissions:

Call Control, Read Call Log, Read Call Recording, Read Messages, SMS, Webhook Subscriptions.
- Redirect URI's: https://www.address.com https://www.dev.address.com

Currently the API has been authenticated following the developer guide for php: https://developers.ringcentral.com/guide/authentication/quick-start#php

The API is used in our production site under the first link. https://www.address.com


It works fine here however, we have a development site where we are trying to use it as well: https://www.dev.address.com

I've used the same credentials (except for the redirect URL " https://www.dev.address.com") and authentication method. I have also added " https://www.dev.address.com" in the list of redirect URIs found within the ring central application settings.

When I try to visit the authentication URL from " https://www.dev.address.com", I am given an JSON response which says that the redirect URIs do not match but, in reality they do match.

I am attaching an image of the response below.

Do you suggest making a new ring central app to use on the development site " https://www.dev.address.com"? Or, is there a way to make the existing ring central app work on both sites?

Best Regards,
Asif Khan

 0
on Jun 22, 2021 at 2:02pm   •  0 likes

What is the reason for you to ask this question in this old thread? It is not even related to the original question?

answered on Jun 11, 2020 at 1:18pm  

Using an API key? Currently, you need to get a RingCentral Office access token, then exchange for an Engage Voice access token to call that API.

https://developers.ringcentral.com/engage/voice/guide/authentication/auth-ringcentral

You can use one of the SDK wrappers to call the Engage Voice API.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us