How Can We Help?

Tech tutorials, Reviews, How To's

Documentation | Demos | Support

< All Topics
Print

Get Access Token / Salesforce Login API

This is a Salesforce default login request for Access Token. With this request, the Access token will be received as response.

API Call Structure:

curl --location --request POST 'https://login.salesforce.com/services/oauth2/token?grant_type=password
&client_id=XXXXXXXXXX
&client_secret=XXXXXXX
&username=XXXXXX
&password=XXXXXXX'

Sample Response:

Here is the sample response received. The Access Token received here will be useful in constructing the API Calls for updating the certification data.

{
"access_token": "XXXXXXXXXX",
"instance_url": "https://XXXXX.my.salesforce.com",
"id": "https://login.salesforce.com/id/XXXXXX",
"token_type": "Bearer",
"issued_at": "XXXXXXXXXX",
"signature": "XXXXXXXXXXXXXXXXX"
}

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents