Account
Manage the authenticated account. Accounts are the top-level organizational unit and contain one or more workspaces.
Retrieves the current account for the token accessing the API
Rotates the webhook signing key for the account
ModelsExpand Collapse
account: object { info, metadata, spec }
An account, the top-level organizational unit. Contains workspaces and account-wide settings such as the webhook signing secret.
info: object { globalApiKey, webhookEventsHmacSecret }
Server-populated information about the account.
globalApiKey: optional object { metadata, spec, info }
An API key for the account. Use workspace-association RPCs to grant the key access to specific workspaces; a key with zero workspaces is valid but cannot access workspace-scoped resources.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
spec: object { token, description, permissions, system }
Configuration for an API key.
token: optional string
The bearer token used to authenticate as this API key. Returned only on creation and rotation; subsequent reads omit this field.
info: optional object { createdBy, workspacesPreview, workspacesTotal }
createdBy: optional object { metadata, spec }
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
webhookEventsHmacSecret: optional string
The generated secret that will sign all webhooks that are sent to your configured Webhook URL. Formatted as “wh_asdf1234” per the https://www.standardwebhooks.com/ format.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
spec: object { billingEmail, description, domain, workspaces }
Configuration for an account.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
account_info: object { globalApiKey, webhookEventsHmacSecret }
Server-populated information about the account.
globalApiKey: optional object { metadata, spec, info }
An API key for the account. Use workspace-association RPCs to grant the key access to specific workspaces; a key with zero workspaces is valid but cannot access workspace-scoped resources.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
spec: object { token, description, permissions, system }
Configuration for an API key.
token: optional string
The bearer token used to authenticate as this API key. Returned only on creation and rotation; subsequent reads omit this field.
info: optional object { createdBy, workspacesPreview, workspacesTotal }
createdBy: optional object { metadata, spec }
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
webhookEventsHmacSecret: optional string
The generated secret that will sign all webhooks that are sent to your configured Webhook URL. Formatted as “wh_asdf1234” per the https://www.standardwebhooks.com/ format.
account_spec: object { billingEmail, description, domain, workspaces }
Configuration for an account.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.
profile: object { metadata, spec }
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
metadata: object { id, accountId, name, 3 more }
AccountResourceMetadata is used to represent a resource that is associated to an account but not to a workspace.