POST
https://api.us.nylas.com/v3/workspacesCreate a workspace
Creates a workspace. Only name is required. Omit domain to create a workspace that holds
only the grants you assign to it. Those grants can have any email domain.
domainThe email domain associated with the workspace, such as nylas.com. Optional. Set it when
you want Nylas to group grants by domain automatically. Each domain can belong to only one
workspace per application, and Nylas returns a 400 error if the domain is already in use.
Domain matching for automatic grouping is exact and case-sensitive, so subdomains don't
match their parent domain. You can't add, change, or remove the domain after the workspace
is created.