NEXA LYNK

Service accounts and API keys

For: every planWorkspace settings

A service account is how a program signs in. It holds roles like a person does and is issued API keys, but it has no membership and no second factor.

Steps

  1. Open Developer settings

    In the menu, under Manage, open Settings and the Developer tab. The switch at the top moves between Service accounts and Webhooks.

    Where:ManageSettingsDeveloper
    The Service accounts page: existing service accounts, and the chosen one with its roles and API keys
    Service accounts: the accounts on the left, the chosen one's roles and keys on the right.
  2. Create a service account

    Under "Existing service accounts" type a name and press "Create service account". Press an account in the list to open it.

    Press:Create service account
  3. Give it a role

    Under Roles, choose a role and press "Bind role". Only roles a machine can hold are offered.

    Press:RolesBind role
  4. Issue an API key

    Under "API keys" type a name, add scopes if you want to narrow what the key can do, and press "Issue key". Copy the key at once: it is shown only this once.

    Press:API keysIssue key
  5. Rotate or revoke a key

    Rotate issues a new secret while the old key keeps working for a short grace period. "Revoke now" ends a key at once and cannot be undone.

    Press:RotateRevoke now

Tips and cautions

Tips

  • After a key is issued, the list shows only its prefix.
  • Reading customers, conversations and messages through the API needs the API and webhooks feature, included on Pro or added on.

Take care

  • Only the owner and administrators can change these.
  • Disabling or archiving a service account revokes every key it holds, and an archived account cannot be turned back on.

Was this article helpful?

Thank you for telling us.