Document for SF API
Step 1: Register Client Application
Register client in Manage OAuth2 Client Applications (If client is already register
click on Edit for generatinf Private key)
Step 2: Generate SAML assertion
Follow below KBA for SAML assertion
3031657 - How to generate SAML assertion using SAP-provided offline tool - SAP SuccessFactors
BY followed above KBA you will get SAML Assertion
Step3: Generate token
Post : [Link]
In Header section => Content-Type - application/x-www-form-urlencoded
In Body section
Select raw
company_id={company id}&client_id={API key} &grant_type=urn:ietf:params:oauth:grant-
type:saml2-bearer&assertion={Assertion that we got from Step2}
Token will generate
Step 4: Access API
Get: [Link]
In header section
Authorization – Bearer {Access token}
Note : If there a Error regarding Authorization restriction for IP follow below KBA
[Link]