Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

How to use Postman for Centrify API Calls

4 July,19 at 06:39 AM

Download Postmanhttps://www.getpostman.com/

 

Authenticate before calling other API

 

1. StartAuthentication https://developer.centrify.com/docs/starting-the-authentication-process

POST https://aap0825.my.centrify.com/Security/StartAuthentication
Header: X-CENTRIFY-NATIVE-CLIENT:true
             Content-Type: application/jsonapi1.PNGHeader Section

   

   Body

{
"TenantId": "AAP0825",
"User": "cloudadmin@alan.tsai",
"Version": "1.0"
}
}api2.PNGBody Section

 

   Send the API call

   api3.PNGMake the API call

2. Advance authenticationhttps://developer.centrify.com/docs/advancing-the-authentication

 

POST https://aap0825.my.centrify.com/Security/AdvanceAuthentication
Header: X-CENTRIFY-NATIVE-CLIENT:true
              Content-Type: application/json

   Body

{
"TenantId": "AAP0825",
"SessionId": "WWrh-Ug8DkWnke1jv7ZLczwhj9AsL6tx_fTKBtSzVJQ1",
"MechanismId": "mfOjN4i6TAIZMC0Bq3TAyU6KxW7SNo9Lkct1M7Jv-bI1",
"Action": "Answer",
"Answer": "xxxxx" //User's password
}

 

    Send the API call

    api5.PNGMake the API call

    

    After authentication, you can simply call API by GET/POST.

   

    Example

GET https://aap0825.my.centrify.com/CDirectoryService/GetUsers
api6.PNGMake the API call

 

 

 

 

 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.