Was this helpful?

API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:

/oauth1/requesttokens

Description: Returns list of all OAuth 1.0a request tokens, with details for each token

Verb: GET
Auth: Basic Auth
Media types:
application/json
text/xml
Sample Request:
$ curl -X GET -H "Accept:application/json" \ 
https://api.enterprise.apigee.com/v1/o/{org_name}/oauth1/requesttokens \
-u myname:mypass
Sample Response:
{
  "requestToken" : [ {
    "app" : "app1",
    "attributes" : [ ],
    "callbackUrl" : "api.company.com",
    "consumerKey" : "HAflZ3JzeQaEuPzTVQ5YCIy9TAh0Lhba",
    "createdAt" : 1343028237179,
    "createdBy" : "defaultUser",
    "expiresAt" : 1343028237184,
    "issuedAt" : 1343028237179,
    "lastModifiedAt" : 1343028237179,
    "lastModifiedBy" : "defaultUser",
    "secret" : "u3rn4tdRaBYvnk4FdZmOD6oDoQA8",
    "status" : "expired",
    "token" : "bKf4sSPg8vUoeLmR4iNCbl2y94NB"
  }, {
    "app" : "myApp",
    "attributes" : [ {
      "name" : "region",
      "value" : "south"
    } ],
    "callbackUrl" : "www.nike.com",
    "consumerKey" : "Lmupmwb5mD6CAEl6vqii1kojTGMiCnWj",
    "createdAt" : 1343034561737,
    "createdBy" : "Admin",
    "expiresAt" : 1343036361737,
    "issuedAt" : 1343034561737,
    "lastModifiedAt" : 1343034561737,
    "lastModifiedBy" : "Admin",
    "scope" : "local",
    "secret" : "kSdnf7pBZADjxg5qfMkHhDVTumR5",
    "status" : "approved",
    "token" : "1wXHJFNXLA0Haeg4lVMToZWJHaFM"
  },
  {.....}
 ]
}
Errors
Failure 500 with proper error message
{
  "code" : "keymanagement.service.oauth10_request_token_fetch_failed,
  "message" : "unable to fetch request token details",
  "contexts" : [ ]
}

Error Codes:
1. keymanagement.service.oauth10_request_token_fetch_failed

Add new comment

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.