Article 2: Access, Credentials, and Authentication
0 people liked this article
2.1 Developer Portal Access and Prerequisites
The developer portal is open to the public. To create API credentials and test with real data, an expereo.one user with the developer role is required. This role can be created via the manage users section of the expereo.one portal.
2.2 4 Steps to API Authentication
The expereoOne API uses OAuth 2.0 to authenticate requests.
- Log in as a Developer: Log in as a Developer; you may need to create a new user from the Profile page.
-
Generate API Keys: Generate a new set of API keys (Client ID and Client Secret Key) from the API Credentials page.
- WARNING: The Client Secret Key is shown only once and cannot be retrieved later; it must be saved in a safe place and should not be shared with anyone.
-
Obtain a JSON Web Token (JWT): Use the generated keys and the relevant scope(s) to authenticate with the auth server.
- Authentication Endpoint: https://auth.expereo.one/oauth2/token.
-
Use the Token: Include the JSON Web Token in all subsequent HTTP requests to the GraphQL endpoint.
- GraphQL Endpoint: https://api.expereo.one/graphql.
Example Authentication via curl: This uses the required customerapi/basic.read scope:
curl -X POST "https://auth.expereo.one/oauth2/token" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "scope=customerapi/basic.read" \
-d "client_id={CLIENT_ID}" \
-d "client_secret={CLIENT_SECRET}"
2.3 Scopes and Permissions
Scopes are permissions that determine the access an application will have to your expereoOne account.
Scope Name |
Description |
Purpose |
customerapi/basic.read |
Basic read |
Gives access to read user information, services, and sites. |
customerapi/support.read |
Support read |
Allows reading all support information. |
customerapi/support.read-write |
Support read & write |
Allows reading and writing on all the support information (e.g., creating and replying to cases). |
Scopes cannot be changed after the API keys have been generated; a new token must be created if different permissions are required.
Popular Articles
-
What is the Support process for managing and handling cases?
2 people say this guide was helpful
-
How to create a new case in expereoOne?
16 people say this guide was helpful
-
How can I contact Expereo Support?
9 people say this guide was helpful
-
Where can I find the Reason for Outage (RFO) for an Incident Cases?
0 people say this guide was helpful