API Authentication Types
Accela API requires apps to authenticate based on the API resource’s authentication type, which is one of the following:
Request Authentication Type | Required Request HTTP Headers | Description |
---|---|---|
Access token | Authorization |
Requires an API access token. This authentication type applies to Accela API endpoints that access and operate on Civic user data. Access tokens are obtained either through the Accela SDKs or directly from the Accela Auth server (See Logging in the Authentication Server). For testing purposes, a test API token can be obtained from the Get Api Test Token page.
|
App credentials |
x-accela-appid x-accela-appsecret |
Requires HTTP request headers containing the application credentials. This authentication type applies to Accela API endpoints that access app settings. Application credentials (ID and appsecret) are obtained when the app is registered on the Accela Developer Portal. A logged in developer can view the app credentials on the Accela Developer Portal’s My Apps page.
|
No authorization required |
x-accela-appid x-accela-agency x-accela-environment |
Requires HTTP request headers containing the appid, agency, and environment. This authentication type applies to Accela API endpoints that allow an app to access public data as an anonymous user. Note the following:
|
The Construct API Reference documentation shows the authentication type required by each Accela Accela API endpoint.