Introduction
ANCILE uAlign has enabled API endpoints as an interface for developers wishing to provision users programmatically via SCIM. The API supports serialized JSON. All requests and responses must be secured and have the ‘application/json’ content-type header.
Versioning
ANCILE uAlign keeps the current and previous versions of its API active. The version of the API is referenced inside the base URL. All ANCILE uAlign API endpoints in the documentation use a base URL over HTTPS.
https://:host/api/:version
- The current API base URL for uAlign is https://app.ancileualign.com/api/v4
- The current API base URL for SAP Communication Center (SCC) is https://scc.ancileualign.com/api/v4
Authorization Header
The ANCILE uAlign application requires an OAuth 2.0 authorization header for API calls. ANCILE uAlign supports OAuth's client credential authorization grant type. To obtain an authorization header, perform the following steps:
- Login to the uAlign website.
- Ensure that the proper organization name is displayed in the upper left.
- Click the Settings icon in the upper right.
- Click Organization.
- In the Authentication settings portion of the screen, click the Manage connected applications link to go the Your Applications window.
- In the Your Applications window, click Add application to create a new connected application.
- In the Name field, enter the name of the connected application as you want it to appear in the list of applications.
- In the Redirect URI field, enter the callback entry point of the application.
- Click Save.
- A screen is displayed containing the ID and Secret Key. Copy and store this information in a safe place. The secret key will not be displayed again.
- Use the ID and Secret Key to make a POST request to /oauth/token as follows:
Request:
POST /oauth/token
Request Body:
{"client_id":"[id]","client_secret":"[secretkey]","grant_type":"client_credentials"
}
Response:
Status: 200 OK
Response Body:
{"access_token":"[token]","token_type":"bearer","expires_in":7200,"created_at":1461960661
}
On subsequent API calls that require an Authorization header, use the token provided in the POST response as follows:
Authorization: Bearer [token]
The response body contains a "expires_in" attribute, which is the number of seconds that the token will be valid. After expiration, all clients must make a new request to the /oauth/token endpoint to obtain a new valid token.
Organization Identifier Header
In addition to the authorization header, the organization identifier must be passed in a custom header. If no organization identifier is passed, the organization used will be the user's last selected organization, or the organization that owns the client application. To find a specific organization identifier, access the organization's page in uAlign and note the identifier displayed in the browser address.
X-uAlign-Organization: [organization_uuid]
API Endpoints
ANCILE uAlign provides an application programmatic interface in order to read and write data. The API provides access to the following objects:
-
Users API
- List
- Show
- Add
- Update
- Remove
- Sample Full User Response
Comments