Last updated 20 hours ago
Was this helpful?
Request a sync attempt for the specified connected_account_id.
POST /connected_accounts/sync ⇒ void
API key
Personal access token Must also include the seam-workspace header in the request.
seam-workspace
To learn more, see .
connected_account_id String (Required)
connected_account_id
ID of the connected account that you want to sync.
void
Request an on-demand sync of the devices and systems in a connected account.
Code
await seam.connectedAccounts.sync({ connected_account_id: "23e4eb21-6e93-48c4-a077-bf503246d47c", });
Output
// void
seam.connected_accounts.sync( connected_account_id="23e4eb21-6e93-48c4-a077-bf503246d47c" )
None
seam.connected_accounts.sync(connected_account_id: "23e4eb21-6e93-48c4-a077-bf503246d47c")
nil
<?php $seam->connected_accounts->sync( connected_account_id: "23e4eb21-6e93-48c4-a077-bf503246d47c" );
null
seam connected-accounts sync --connected_account_id "23e4eb21-6e93-48c4-a077-bf503246d47c"
{}
package main import api "github.com/seamapi/go" func main() { client.ConnectedAccounts.Sync( context.Background(), api.ConnectedAccountsSyncRequest{ ConnectedAccountId: api.String("23e4eb21-6e93-48c4-a077-bf503246d47c"), }, ) }
curl --include --request POST "https://connect.getseam.com/connected_accounts/sync" \ --header "Authorization: Bearer $SEAM_API_KEY" \ --json @- <<EOF { "connected_account_id": "23e4eb21-6e93-48c4-a077-bf503246d47c" } EOF