Logo
Salesforce Developers API Documentation

Resources

GET {{url}}{{site}}/services/data/v{{version}}/apps/oauth/credentials/{{_appId}}/{{_consumerId}}?part=Key

Returns credentials for a specific consumer. Use parameters to determine whether the request should return the key, the secret, or both key and secret. See OAuth Credentials by Consumer ID.

 

Body PARAM

Key Datatype Required Description 
part
string Key, Secret, or KeyAndSecret



HEADERS

Key Datatype Required Description 
Authorization
string Replace <token> with your access token




RESPONSES

status





Curl
curl -X GET 'https://login.salesforce.com/services/data/v61.0/apps/oauth/credentials//?part=Key?part=Key' -H 'Authorization: Bearer <token>'

ENDPOINTS