Skip to content
Skip to main content
POST
/v3/workspaces/auto-group

Automatically group grants into workspace

Configures automatic grouping settings for new or existing workspaces, depending on the filters set. If you don't set any filters, Nylas considers all grants.

NYLAS API KEY

Request body

after_created_atnumber

Applies automatic grouping settings to grants created at or after the specified time, in seconds using the Unix timestamp format.

Example: 1622548800000
invalid_alsoboolean

When true, applies automatic grouping settings to both invalid and valid grants. When false, applies settings to valid grants only.

Default: false
Example: false
specific_domainstring

Applies automatic grouping settings to grants with the specified email domain only.

Example: "nylas.com"
with_grant_workspace_idboolean

When true, applies automatic grouping settings to only grants that are already assigned to a workspace.

Default: false
Example: false

Responses

request_idstring

The request ID.

Example: "5967ca40-a2d8-4ee0-a0e0-6f18ace39a90"
dataobject
POSThttps://api.us.nylas.com/v3/workspaces/auto-group

Find your API key in the Nylas Dashboard under API Keys in your application settings.

Loading editor...

Autocomplete and validation come from this endpoint's request schema.