Overview
Platform API keys are credentials used to request bearer tokens for GW Apps platform-management APIs. The current API Reference covers Users, Application Roles, and Shared Roles. Platform API keys are configured by a Super Administrator in Platform Settings.
A platform API key does not automatically grant access to every operation or resource. Each request is limited by the scopes selected on the key and the permissions of the GW Apps user identity supplied when the bearer token is requested.
Platform API keys are different from application API keys. Use an application API key for application, form, and record endpoints. Use a platform API key for the platform-level endpoints documented in its API Reference.
Access the API Keys Dashboard
- Sign in as a Super Administrator.
- Open your account menu or the settings icon and select Platform Settings.
- Select API Keys.

| Field | Description |
| Create API Key | Creates a platform API-key configuration. The initial dialog asks for a name and optional description. |
| Enabled | Enables or disables the key. Disable a key when an integration must be stopped without deleting its configuration. |
| Generate New Key | Creates a replacement key and invalidates the previous value. Coordinate the cutover before using this command. |
| API Reference | Opens the platform-management reference for authentication, filters, Users, Application Roles, and Shared Roles. |
| Edit | Changes the name, description, allowed identities, entities, or scopes. |
| Remove | Deletes the configuration. Remove it only after confirming that no active integration uses it. |
Create and Configure a Platform API Key
- Select Create API Key.
- Enter a name that identifies the integration and environment, such as Directory Sync — Production.
- Add an optional description that records the owner, purpose, external system, and expected operations.
- Select Create. The configuration is added to the API Keys dashboard.
- Open the row menu for the new key and select Edit.
- Under Security Details, choose the appropriate security type. When Specific users is selected, search for and add only the administrators or service identities the integration may use.

- Under Access Details, select an entity and its permitted scopes. The available entities are Users, Application Roles, and Shared Roles.
- Select + Add Access to add another entity-and-scope row. Use the X at the right of a row to remove access that is not required.

- Review all selected scopes and apply least privilege.

- Select Save.
- From the row menu, select Generate New Key when you are ready to obtain or rotate the credential. Store it in an approved secret-management system; do not place it in source code, documentation, screenshots, or shared messages.

- From the row menu, select API Reference and use the current reference when implementing and testing the integration.
Security Type and Effective User
| Field | Description |
| Specific users | Only the listed GW Apps identities can be supplied when a client requests a bearer token with this key. This is recommended for most integrations. |
| All domain users | A client possessing the key can request a token for any eligible domain user. Normal user permissions still apply, but exposure has a wider impact. |
| User email | Identifies the effective GW Apps user for the token and later API calls. The user must be eligible under Security Details. |
Effective access is the intersection of the key’s selected entity and scope, the effective user’s permissions, and applicable platform security. Selecting a scope does not give the user access they do not otherwise have.
Current Access Entities and Scopes
Users
- Create User
- Suspend User
- Activate User
- View & Search Users
- Get User Access
Application Roles
- Create Application Role
- Update Application Role
- View & Search Application Roles
- Get Application Role
- Add Members to Application Role
- Remove Members from Application Role
Shared Roles
- Create Shared Role
- Update Shared Role
- Delete Shared Role
- View & Search Shared Roles
- Add User to Shared Role
- Remove User From Shared Role
- List Members from Shared Role
Use the API Reference opened from the selected key as the authoritative source for the endpoints, request properties, response structures, and scopes currently available in your environment.
Use the Platform API Reference
The API Reference provides the current request structures, parameters, sample requests, responses, and resource definitions for platform-management endpoints.

Authentication
Follow the Authentication page to exchange the platform API key and an eligible GW Apps user identity for an access_token. Send the returned token in the Authorization header on later requests. Key scopes and the effective user’s permissions continue to limit every request.
Filters

Search endpoints use the filter structures documented in the reference. The Filters page lists each operator, supported fields, expected value type, and an example. It also shows how to combine conditions with OR and AND groups. Copy the current structure rather than guessing operator names or payload nesting.
Users
The User Management API documents the User resource and endpoints to Create Users, Suspend Users, Activate Users, Search Users, Get User, and Get User Access. Each endpoint page includes its HTTP request, parameters or request body, example request, and response.
Application Roles
The Application Role Management API documents endpoints to Create Application Role, Update Application Role, Search Application Roles, Get Application Role, Add Members, and Remove Members.
Role type controls what can be changed. System or platform roles are read-only, including membership. Designer roles allow members to be added or removed, but their name and description cannot be modified. Roles that are not application-specific are managed as Shared Roles and cannot be modified through Application Role endpoints. Full modification is supported only for application-specific roles that are not system, platform, or designer roles. Unsupported modifications return 403 Forbidden.
Shared Roles
The Shared Role Management API documents the Shared Role resource and endpoints to create, update, delete, search, retrieve, add users, remove users, and list members. Review the endpoint’s required scope and request example before implementing it.
Token and Credential Lifecycle
- Treat the API key as a long-lived secret used only to request short-lived bearer tokens.
- Request a new bearer token when the current token expires. Follow the generated platform API Reference for current token behavior.
- Rotate keys periodically and immediately after suspected exposure. Generate New Key invalidates the old value, so coordinate the consuming-system update.
- Disable a key when calls must stop but its configuration must be retained.
- Delete unused keys only after confirming their owner and dependencies.
Testing
- Test the least-permissive read or search operation required by the integration.
- Test with the exact effective user identity that production will use.
- Confirm that an unapproved identity, entity, or scope is rejected.
- For Application Roles, confirm that system, platform, designer, and non-application-specific role restrictions behave as documented.
- Confirm that disabling the key stops new requests.
- Record the key name, owner, environment, approved scopes, and rotation date without recording the secret value.
Troubleshooting
| Field | Description |
|---|---|
| 400 Bad Request | Check the token request, parameters, filter structure, or payload against the current API Reference. |
| 401 Unauthorized | Check the key, bearer-token expiry, effective user, selected scope, and user permissions. |
| 403 Forbidden | Check the key scope, platform policy, effective-user permissions, and Application Role modification rules. |
| 404 Not Found | Check the endpoint and resource identifier, and confirm that the effective user can access the resource. |
| 429 Too Many Requests | Reduce request frequency and retry with increasing delay. |
| Calls stop after rotation | Update the consuming service with the newly generated key; the prior value is no longer valid. |
Logging and Incident Response
- Log the configuration name or internal identifier, effective user email, endpoint, time, result status, and a correlation identifier when available.
- Do not log the API key, bearer token, authorization header, or sensitive request and response data.
- If a key may be exposed, disable it, generate a replacement, update the authorized integration, review relevant logs, and remove unnecessary scopes or users before restoring service.