Overview
This article will show you how to authenticate a user on an API.
Important Note
You must first create and authenticate the API.
Instructions
- Log into the site with your own credentials
- After you log in, type in /api after the domain's suffix
- Example: civicplus.civicplus.com/api
- In the site, enter your partition and apiKey fields
- Note: These values will be provided by us.
- For the UserToken, expand Authentication
- Inside of Authentication, there are various API Calls.
- Select the API /api/Authentication/v1/Authenticate
- Click on the Model Schema
- Note: This will automatically populate the userCredentials value.
- Note: This will automatically populate the userCredentials value.
- Replace the string value with the proper Username and Password
- Click Do It!
- Note: This should generate an APIKey which will be the UserToken used above.
- Note: This should generate an APIKey which will be the UserToken used above.
- With the UserToken available, you can continue building your API Integration
Comments
Let us know what was helpful or not helpful about the article.0 comments
Please sign in to leave a comment.