logo
Connections

Refresh holdings for a connection

post
https://api.snaptrade.com/api/v1/authorizations/{authorizationId}/refresh

Trigger a holdings update for all accounts under this authorization. Updates will be queued asynchronously. ACCOUNT_HOLDINGS_UPDATED webhook will be sent once the sync completes

Execute an API Request

Path
authorizationIdstring (format: uuid)required

The ID of a brokerage authorization object.

Query
userIdstringrequired

SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.

userSecretstringrequired

SnapTrade User Secret (generated when registering user)

Authorization
Request
Installation
$
npm install snaptrade-typescript-sdk
1
Loading...

Response fields

object
detailstring

Refresh confirmation details

1
{
2
"detail": "Connection 0b3ebefb-ed47-43df-cd8f-729a4420b5cf scheduled for refresh"
3
}