Links have an ID value and an access_token. Together, these retrieve data from a user’s account. Exchange the public_token value during authentication while implementing Truv Bridge. Access tokens are for sensitive operations, such as generating reports.Documentation Index
Fetch the complete documentation index at: https://truv.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Attributes
| Attribute | Type | Description |
|---|---|---|
| id | string | Unique ID of Link |
| created_at | string | ISO 8601 value for when Link was created |
| updated_at | string | ISO 8601 value for when Link was last updated |
| tracking_info | string | Optional tracking information provided by a partner |
| status | string | Status from Connection Lifecycle related to account Link |
| user_external_id | bool | External ID of user provided by a partner |
| provider_id | string | Data provider ID |
| link_hash | string | Unique hash for user credentials when creating link |
Example response
Refresh data
Refresh data from an existing Link with the data refresh endpoints. These let the user bypass entering their payroll credentials a second time.Perform a data refresh
- [Optional] Subscribe to Webhooks for completed Tasks with
donestatus. Pull payroll data for the data refresh information. - Use the Create a data refresh task endpoint with the access_token from the original connection.
- Use webhooks, the Retrieve a data refresh status endpoint, or both to check the status of the refresh.
Each data refresh Task is billed individually.
Refresh rate intervals
Truv has rate limits on each access_token value. Within a 24-hour period, only an initial request and three refreshes are allowed. TheRefresh limit for the access_token exceeded error occurs for any requests outside of the interval and limit.
Data refresh task attributes
| Attribute | Type | Description |
|---|---|---|
| task_id | string | Unique ID for Link data refresh task |
Data refresh status attributes
| Attribute | Type | Description |
|---|---|---|
| id | string | Unique refresh task ID |
| created_at | string | Time when refresh task was created |
| refresh_date | string | |
| status | string | Data refresh task status |