Authenticate a User

Prev Next

This article will show you how to authenticate a user on an API.

Important Note:

You must first create and authenticate the API.

Who can use this feature?

System Administrator

Instructions

  1. Log in to the site with your credentials

  2. After you log in, type in /api after the domain's suffix

    • Example: civicplus.civicplus.com/api

  3. In the site, enter your partition and apiKey fields:Partition and API Key information input boxes at the top of the page

    Note: CivicPlus will provide these values.

  4. For the UserToken, expand the Authentication tab:Authentication tab selected in a list of API documentation tabs

    • Inside of Authentication, there are various API Calls.

  5. Select the API /api/Authentication/v1/Authenticate:Select the correct API from the list of APIs shown

  6. Click on the Model Schema:Model schema box highlighted within the API information

    • This will automatically populate the userCredentials value:User Credentials box highlighted within the API information

  7. Replace the string value with the proper Username and Password:Insert a new username and password in the userCredentials box located in the API infomration page

  8. Click Do It!:The Do it! button on the API information page

    • This should generate an APIKey which will be the UserToken used above:Response body box within the APIKey

  9. With the UserToken available, you can continue building your API Integration