curl --request GET \
--url "https://api.us.nylas.com/v3/workspaces" \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <NYLAS_API_KEY>' \
--header 'Content-Type: application/json'
Sign in and select an app and grant, then add any required auth token, to auto-fill these placeholders with your real values.