Docusign TSP API











up vote
3
down vote

favorite












I have applied for the Docusign TSP Program.
We are following these instructions but we are facing some issues.
https://developers.docusign.com/id-tsp-api/guides/tsp-authentication



When we invoke the following route:



POST /oauth/token

POST oauth/token HTTP/1.1

Host: account-d.docusign.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic Y2xpZW50SWQ6Y2xpZW50U2VjcmV0

grant_type=authorization_code
&code=SplxlOBeZQQYbYS6WxSbIA
&redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb

This should be the response that we are expecting:

HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache
{
"access_token": "(access token example removed for document brevity)",
"expires_in": 28800,
"token_type": "Bearer",
"user_api": "https://{server}.docusign.net"
}


Unfortunately we aren't receiving "user_api", instead we are receiving this:



{
"access_token": "ISSUED_ACCESS_TOKEN",
"token_type": "Bearer",
"refresh_token": "ISSUED_REFRESH_TOKEN",
"expires_in": 28800
}


Are you able to help me?










share|improve this question







New contributor




TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Not sure why you're not getting the user_api key but another way you may be able to get it is with https://www.docusign.net/restapi/v2/login_information, that responses with a base_uri. Could be that it's the same value since it's tied to the user's account.
    – JM-AGMS
    2 days ago












  • Hi, I guess that api won't help me, TSP API expects something like /restapi/{version}/signature/ as the base path and this route gives me /restapi/{version}/accounts/{account_id}, which is the base path for the eSignature API. By the way, I should receive that TSP API base route path through the access token request, in the user_api field.
    – TSP CMS
    20 hours ago















up vote
3
down vote

favorite












I have applied for the Docusign TSP Program.
We are following these instructions but we are facing some issues.
https://developers.docusign.com/id-tsp-api/guides/tsp-authentication



When we invoke the following route:



POST /oauth/token

POST oauth/token HTTP/1.1

Host: account-d.docusign.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic Y2xpZW50SWQ6Y2xpZW50U2VjcmV0

grant_type=authorization_code
&code=SplxlOBeZQQYbYS6WxSbIA
&redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb

This should be the response that we are expecting:

HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache
{
"access_token": "(access token example removed for document brevity)",
"expires_in": 28800,
"token_type": "Bearer",
"user_api": "https://{server}.docusign.net"
}


Unfortunately we aren't receiving "user_api", instead we are receiving this:



{
"access_token": "ISSUED_ACCESS_TOKEN",
"token_type": "Bearer",
"refresh_token": "ISSUED_REFRESH_TOKEN",
"expires_in": 28800
}


Are you able to help me?










share|improve this question







New contributor




TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Not sure why you're not getting the user_api key but another way you may be able to get it is with https://www.docusign.net/restapi/v2/login_information, that responses with a base_uri. Could be that it's the same value since it's tied to the user's account.
    – JM-AGMS
    2 days ago












  • Hi, I guess that api won't help me, TSP API expects something like /restapi/{version}/signature/ as the base path and this route gives me /restapi/{version}/accounts/{account_id}, which is the base path for the eSignature API. By the way, I should receive that TSP API base route path through the access token request, in the user_api field.
    – TSP CMS
    20 hours ago













up vote
3
down vote

favorite









up vote
3
down vote

favorite











I have applied for the Docusign TSP Program.
We are following these instructions but we are facing some issues.
https://developers.docusign.com/id-tsp-api/guides/tsp-authentication



When we invoke the following route:



POST /oauth/token

POST oauth/token HTTP/1.1

Host: account-d.docusign.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic Y2xpZW50SWQ6Y2xpZW50U2VjcmV0

grant_type=authorization_code
&code=SplxlOBeZQQYbYS6WxSbIA
&redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb

This should be the response that we are expecting:

HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache
{
"access_token": "(access token example removed for document brevity)",
"expires_in": 28800,
"token_type": "Bearer",
"user_api": "https://{server}.docusign.net"
}


Unfortunately we aren't receiving "user_api", instead we are receiving this:



{
"access_token": "ISSUED_ACCESS_TOKEN",
"token_type": "Bearer",
"refresh_token": "ISSUED_REFRESH_TOKEN",
"expires_in": 28800
}


Are you able to help me?










share|improve this question







New contributor




TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have applied for the Docusign TSP Program.
We are following these instructions but we are facing some issues.
https://developers.docusign.com/id-tsp-api/guides/tsp-authentication



When we invoke the following route:



POST /oauth/token

POST oauth/token HTTP/1.1

Host: account-d.docusign.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic Y2xpZW50SWQ6Y2xpZW50U2VjcmV0

grant_type=authorization_code
&code=SplxlOBeZQQYbYS6WxSbIA
&redirect_uri=https%3A%2F%2Fclient.example.org%2Fcb

This should be the response that we are expecting:

HTTP/1.1 200 OK
Content-Type: application/json
Cache-Control: no-store
Pragma: no-cache
{
"access_token": "(access token example removed for document brevity)",
"expires_in": 28800,
"token_type": "Bearer",
"user_api": "https://{server}.docusign.net"
}


Unfortunately we aren't receiving "user_api", instead we are receiving this:



{
"access_token": "ISSUED_ACCESS_TOKEN",
"token_type": "Bearer",
"refresh_token": "ISSUED_REFRESH_TOKEN",
"expires_in": 28800
}


Are you able to help me?







docusignapi docusign






share|improve this question







New contributor




TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









TSP CMS

161




161




New contributor




TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






TSP CMS is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Not sure why you're not getting the user_api key but another way you may be able to get it is with https://www.docusign.net/restapi/v2/login_information, that responses with a base_uri. Could be that it's the same value since it's tied to the user's account.
    – JM-AGMS
    2 days ago












  • Hi, I guess that api won't help me, TSP API expects something like /restapi/{version}/signature/ as the base path and this route gives me /restapi/{version}/accounts/{account_id}, which is the base path for the eSignature API. By the way, I should receive that TSP API base route path through the access token request, in the user_api field.
    – TSP CMS
    20 hours ago


















  • Not sure why you're not getting the user_api key but another way you may be able to get it is with https://www.docusign.net/restapi/v2/login_information, that responses with a base_uri. Could be that it's the same value since it's tied to the user's account.
    – JM-AGMS
    2 days ago












  • Hi, I guess that api won't help me, TSP API expects something like /restapi/{version}/signature/ as the base path and this route gives me /restapi/{version}/accounts/{account_id}, which is the base path for the eSignature API. By the way, I should receive that TSP API base route path through the access token request, in the user_api field.
    – TSP CMS
    20 hours ago
















Not sure why you're not getting the user_api key but another way you may be able to get it is with https://www.docusign.net/restapi/v2/login_information, that responses with a base_uri. Could be that it's the same value since it's tied to the user's account.
– JM-AGMS
2 days ago






Not sure why you're not getting the user_api key but another way you may be able to get it is with https://www.docusign.net/restapi/v2/login_information, that responses with a base_uri. Could be that it's the same value since it's tied to the user's account.
– JM-AGMS
2 days ago














Hi, I guess that api won't help me, TSP API expects something like /restapi/{version}/signature/ as the base path and this route gives me /restapi/{version}/accounts/{account_id}, which is the base path for the eSignature API. By the way, I should receive that TSP API base route path through the access token request, in the user_api field.
– TSP CMS
20 hours ago




Hi, I guess that api won't help me, TSP API expects something like /restapi/{version}/signature/ as the base path and this route gives me /restapi/{version}/accounts/{account_id}, which is the base path for the eSignature API. By the way, I should receive that TSP API base route path through the access token request, in the user_api field.
– TSP CMS
20 hours ago

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






TSP CMS is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373650%2fdocusign-tsp-api%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








TSP CMS is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















TSP CMS is a new contributor. Be nice, and check out our Code of Conduct.













TSP CMS is a new contributor. Be nice, and check out our Code of Conduct.












TSP CMS is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373650%2fdocusign-tsp-api%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]