Was this helpful?

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

API Resource Path: /oauth1/requesttokens

Returns list of all Oauth 1.0a request tokens, with detail for each token

Verb: GET

Auth: Basic Auth

Sample Request:
$ curl -u myname:mypass https://api.enterprise.apigee.com/v1/o/{org_name}/oauth1/requesttokens
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

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)