API Credentials
Obtain your API Key and temporary Secret directly from Cyrisma Support.The values shown throughout this documentation are examples only. You must use your own API credentials provided by Cyrisma Support.
| Credential | Example Value |
|---|---|
| API Key (Username) | 407cc078-46c7-11ed-8e42-000d3a3ba598 |
| API Secret (Password) | ZjNkMjg4MTdlOTA2Y2UyYzcyNDAzYzk5ZWNlMTFkOGQ |
Login and Obtain Access Token
Using your API credentials, access the API to receive the initial access token. Since the interaction with the API is plaintext, usex-www-form-urlencoded data type when submitting data elements. API response will be plaintext formatted as JSON.
Response
The
grant_type key indicates this is a password request in compliance with OAuth 2.0 principles. The access token is important and is used to continue all future interaction with the API. The optional refresh token is used to refresh the expiration time remaining back to the original value. The expiration value is generally 600 seconds (10 minutes). Tokens can be renewed as often as needed by re-issuing the call to the login endpoint using valid credentials if your API is not set up to handle refresh tokens.Reset Password
First-time API use should always begin with password reset. Please reset the original temporary password so that only your authorized applications have access to the API.Response
Using the Access Token
Once a token has been returned, this “session” token is used as authorization granting access to all of the API capabilities. Include the access token in subsequent requests using theAuthorization header:
Provisioning Endpoints
The following endpoints access and manage the provisioning process through the primary URLhttps://api.cyrisma.com/app:
| Function | Method | Endpoint |
|---|---|---|
| Reset Password | POST | /partner/login/regen-pass |
| Get All Structure | GET | /partner/instances/info/ |
| Get Single Partner | GET | /partner/instances/info/{instanceId} |
| Provision New | POST | /partner/instances/create |
| Create User | POST | /partner/instances/users/create |
| Convert to Managed | PATCH | /partner/instances/convert |
| Suspend Partner | PATCH | /partner/instances/suspend |
| Reactivate Partner | PATCH | /partner/instances/info |
| Get All Users | GET | /partner/users/info |
| Get Specific User | GET | /partner/users/info/{userRef} |
| Disable User | PATCH | /partner/users/disable |
| Set MFA Method | PATCH | /partner/instances/mfa |
