skip to Main Content

I want to get the URL which docusign sent to signer in their email for signing the document – PHP

Here is my code in laravel: public function send() { $apiClient = new ApiClient(); $apiClient->getOAuth()->setOAuthBasePath(env('DS_AUTH_SERVER')); try { $accessToken = $this->getToken($apiClient); } catch (Throwable $th) { return back()->withError($th->getMessage())->withInput(); } $userInfo = $apiClient->getUserInfo($accessToken); $accountInfo = $userInfo[0]->getAccounts(); $apiClient->getConfig()->setHost($accountInfo[0]->getBaseUri() . env('DS_ESIGN_URI_SUFFIX')); $envelopeDefenition = $this->buildEnvelope();…

VIEW QUESTION

How to get access token using refresh token in DocuSign and PHP? – Laravel

I want to update my access token using the previous refresh token in DocuSign? I am getting { "error": "invalid_grant", "error_description": "unsupported_grant_type" } Below is how I made the request. $client_id = env('DOCUSIGN_CLIENT_ID'); $client_secret = env('DOCUSIGN_CLIENT_SECRET'); $encoded_client_id = utf8_decode(base64_encode($client_id)); $encoded_client_secret…

VIEW QUESTION
Back To Top
Search