Platform: API Keys

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

  1. Sign in as a Super Administrator.
  2. Open your account menu or the settings icon and select Platform Settings.
  3. Select API Keys.
FieldDescription
Create API KeyCreates a platform API-key configuration. The initial dialog asks for a name and optional description.
EnabledEnables or disables the key. Disable a key when an integration must be stopped without deleting its configuration.
Generate New KeyCreates a replacement key and invalidates the previous value. Coordinate the cutover before using this command.
API ReferenceOpens the platform-management reference for authentication, filters, Users, Application Roles, and Shared Roles.
EditChanges the name, description, allowed identities, entities, or scopes.
RemoveDeletes the configuration. Remove it only after confirming that no active integration uses it.

Create and Configure a Platform API Key

  1. Select Create API Key.
  2. Enter a name that identifies the integration and environment, such as Directory Sync — Production.
  3. Add an optional description that records the owner, purpose, external system, and expected operations.
  4. Select Create. The configuration is added to the API Keys dashboard.
  5. Open the row menu for the new key and select Edit.
  6. 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.
  1. Under Access Details, select an entity and its permitted scopes. The available entities are Users, Application Roles, and Shared Roles.
  2. 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.
  1. Review all selected scopes and apply least privilege.
  1. Select Save.
  2. 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.
  1. From the row menu, select API Reference and use the current reference when implementing and testing the integration.

Security Type and Effective User

    FieldDescription
    Specific usersOnly 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 usersA 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 emailIdentifies 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

    1. Test the least-permissive read or search operation required by the integration.
    2. Test with the exact effective user identity that production will use.
    3. Confirm that an unapproved identity, entity, or scope is rejected.
    4. For Application Roles, confirm that system, platform, designer, and non-application-specific role restrictions behave as documented.
    5. Confirm that disabling the key stops new requests.
    6. Record the key name, owner, environment, approved scopes, and rotation date without recording the secret value.

    Troubleshooting

    FieldDescription
    400 Bad RequestCheck the token request, parameters, filter structure, or payload against the current API Reference.
    401 UnauthorizedCheck the key, bearer-token expiry, effective user, selected scope, and user permissions.
    403 ForbiddenCheck the key scope, platform policy, effective-user permissions, and Application Role modification rules.
    404 Not FoundCheck the endpoint and resource identifier, and confirm that the effective user can access the resource.
    429 Too Many RequestsReduce request frequency and retry with increasing delay.
    Calls stop after rotationUpdate 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.
    Updated on August 11, 2026
    Was this article helpful?

    Related Articles