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
Sending Fax problem
Tags: getting started
Jul 10, 2017 at 1:06pm   •   3 replies  •  0 likes
tayyab-sajjad

After getting access token when i try to send Test fax it is showing error, I need help

here is my code for sending fax


if ($platform->loggedIn()){


$request = $rcsdk->createMultipartBuilder()

->setBody(array(

'to' => array(

array('phoneNumber' => '12673314004'),

),

'faxResolution' => 'High',

))

->request('/account/~/extension/~/fax');



$response = $platform->sendRequest($request);

}




and here is the Error

3 Answers
answered on Jun 29, 2019 at 11:21am  

 0
answered on Jul 11, 2017 at 2:10am  
i am using Web app, so after 3-Legged OAuth access token , i am not sure how to use that token and in https://github.com/ringcentral/ringcentral-php there is no help to use token .

Right now i am stuck at this point.


 0
answered on Jul 10, 2017 at 1:50pm  
Tayyab,

Per the error description "Token Not Found" it looks like you are not using the token to make the API call ( Fax API Endpoint

For more guidance, you can take a look at the demo inside of our Official PHP SDK:
https://github.com/ringcentral/ringcentral-php

Have you tried using the Demo under the SDK ? 

 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