Tableau Next Connect REST API Resources Overview

The Tableau Next Connect REST API provides resources to access your Tableau Next assets and more.

All Tableau Next Connect REST API resources are accessed using:

  • A base URL for your Salesforce org (https://<your_instance_name>)
  • The Connect API version information (/services/data/v64.0)
  • The Tableau Next resource (/tableau/visualizations)

Put together, a full URL is:

Id fields in Salesforce, and in Tableau Next, are typically 15-character, base-62, case-sensitive strings. This is true of JSON XMD too. However, many Salesforce APIs, including the Tableau Next Connect REST API, use 18-character, case-insensitive strings—for example, the Id property of the asset resource:

/tableau/workspaces/{workspaceIdOrApiName}/assets/{assetId}.

The last 3 digits are a checksum of the preceding 15 characters. The use of case-insensitive Id’s eases interaction with external applications and development environments that use case-insensitive references. To convert an 18-character Id back to a 15-character ID, simply remove the last 3 characters.

ResourceDescriptionSupported HTTP MethodsResource URL
DownloadsDownload an asset imagePOST/tableau/download
FollowersReturns a collection of followers for a specific followed assetGET/tableau/follow/assets/{followedAssetId}/followers
Returns a collection of followed assets for a userGET/tableau/follow/followers/{followerId}/followed-assets
Add a user as a follower of a specified asset or a collection of assetsPOST, PATCH/tableau/follow/followers/{followerId}/follows
Unfollow a specified asset for a specified userDELETE/tableau/follow/followers/{followerId}/follows/{followedAssetId}
Get a unique follower count for a specified assetGET/tableau/follow/assets/{followedAssetId}/follower-count
Record Access SharesGet a collection of shares for a specified record for the requesting grantee user or share, update, or delete access to a specified recordGET, POST, PATCH, DELETE/tableau/records/{recordId}/shares
Removed access to a specified record for a specified userDELETE/tableau/records/{recordId}/shares/{userOrGroupId}
SubscriptionsGet or update a user's subscription digest configurationGET, PATCH/tableau/subscriptions/digest/{digestConfigOwner}
VisualizationsReturns a collection of visualizations or creates a new visualization.GET, POST/tableau/visualizations
Returns, updates, or deletes a visualization with the specified ID or API name.GET, PATCH, DELETE/tableau/visualizations/{visualizationIdOrApiName}
WorkspacesReturns a collection of workspaces or creates a new workspaces.GET, POST/tableau/workspaces
Returns, updates, or deletes a workspace with the specified ID or API name.GET, PATCH, DELETE/tableau/workspaces/{workspaceIdOrApiName}
Returns a collection of assets in a workspace or adds an asset to a workspace.GET, POST/tableau/workspaces/{workspaceIdOrApiName}/assets