Get Asana sync settings
get
https://api.expiryedge.com/v1/integrations/asana/orgSettingsany role60/min
Request
curl 'https://api.expiryedge.com/v1/integrations/asana/orgSettings' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Response
{
"connected": true,
"default_workspace_gid": "1200000000000001",
"default_project_gid": "1200000000000042",
"sync_on_create": true,
"sync_on_update": true,
"sync_from_asana": true,
"enabled": true
}Returns {connected: false} when Asana was never connected.
200
Settings.
connectedbooleandefault_workspace_gidstring | nulldefault_project_gidstring | nullsync_on_createbooleansync_on_updatebooleansync_from_asanabooleanenabledboolean
400 | The user has no organization, the provider is not connected, validation failed, or the provider API call failed. |
401 | Missing, expired or invalid bearer token. |
429 | Too many requests for this endpoint from your IP. Wait Retry-After seconds. |
