Skip to content

Dash API (2.0.0)

Introduction

The Dash API follows the REST standard and uses common HTTP headers, methods and response codes. Request and response bodies are all in JSON format except for PUT requests of binary file data when upload files.

Operations, Jobs and Batches

If the standard PUT, PATCH and DELETE methods cannot adequately describe an operation on a resource the operation may itself be treated as a resource and the endpoint URLs will reflect this accordingly. For example making a POST to /asset-uploads returns an AssetUpload resource which describes the URL(s) the client should PUT the binary data to upload a file to an asset.

If an operation is unlikely to complete via a synchronous REST call, or asynchronous behaviour is simply preferable, job resource endpoints may provided for the operation. Created job resources can then be periodically polled to Get the status of the operation. Such endpoints can be expected to contain a job qualifier. e.g /asset-download-jobs and /asset-download-jobs/{id}

All job resources can be expected to conform to a polymorphic job structure with common properties such as id, progress and type specific properties such as dateCompleted for successfully completed jobs.

If an operation can be applied to multiple resources an endpoint may provided to create a batch resource for the operation. Such endpoints can be expected to contain a batch qualifier. As batch operations almost always need to be asynchronous you can expect to see both qualifiers in the endpoint URL e.g /asset-download-batch-jobs and /asset-download-batch-jobs/{id}.

Authorisation

Get a short-lived bearer token for testing

You should read the OAuth2 section if you want to set up programmatic API access to Dash. However, if you just want to try out an API endpoint, or want to request your client ID and secret (required for OAuth2 below), you can get a short-lived bearer token:

  1. Log in to your Dash account as normal
  2. Open the browser developer tools (CMD + OPTION + I on Mac or CTRL + SHIFT + I on Windows)
  3. Click the "Application" tab
  4. Under "Storage" in the left panel, expand "local storage"
  5. Click on the URL of your Dash site
  6. Copy the "value" for the access_token from the right-hand panel (be sure to select the whole thing - double click to edit, select all then copy).

This token can be used to try out an endpoint directly from these docs. Just click "Try it..." in the right-hand panel and enter your token in the "Auth" tab.

OAuth2

Dash uses OAuth 2.0 for authorisation. A good overview of OAuth 2.0 can be found here.

Endpoints:

  • https://login.dash.app/authorize
  • https://login.dash.app/oauth/token

Scopes to note:

  • subdomain: this should be set to the subdomain of the Dash the user is trying to access e.g. subdomain:my-account
  • offline_access: the standard OAuth 2.0 scope to use to obtain a refresh token

Audience: An query parameter of audience=https://assetplatform.io must be provided to the https://login.dash.app/authorize endpoint

To obtain your client ID and secret, follow the steps above to get a temporary bearer token and use this to create custom integration settings. The response you receive from the custom integrations settings endpoint will include your client ID and secret.

Authorization Code Flow

To begin the flow, send your user in a browser to to

https://login.dash.app/authorize?response_type=code&audience=https://assetplatform.io&client_id={YOUR_CLIENT_ID}&redirect_uri={YOUR_REDIRECT}&scope=offline_access%20subdomain:{YOUR_SUBDOMAIN}

Once the user successfully authenticates, they will be redirected to your redirect_uri with the Authorization Code provided in a query parameter.

Now that you have an Authorization Code, you must exchange it for your tokens via the https://login.dash.app/oauth/token endpoint

curl --request POST \
  --url 'https://login.dash.app/oauth/token' \
  --header 'content-type: application/x-www-form-urlencoded' \
  --data grant_type=authorization_code \
  --data 'client_id={YOUR_CLIENT_ID}' \
  --data 'client_secret={YOUR_CLIENT_SECRET}' \
  --data 'code={CODE_FROM_PREVIOUS_STEP}' \
  --data 'redirect_uri={YOUR_REDIRECT}'

A more detailed description of the Authorization Code Flow can be found here

Authentication Without User Interaction

Due to security concerns, neither OAuth grant types Client Credentials or Password are supported by the Dash API.

If you require an automated script to call the Dash API, we recommend going through the Authorization Code Flow described above once, specifying the offline_access scope to get a refresh token along with your access token. Your script can store and use this refresh token to call https://login.dash.app/oauth/token and get a new access token when the current one expires.

Current User Details

The Bearer Token is a standard JWT token so can be useful to decode in some cases. For example, the sub field of the Bearer Token can be used in cases where you need access to the User.id of the current user.

e.g. When making an AssetSearch with the STAGED_BY criterion to find all Asset resources staged by the current user.

Alternatively the GET Current User endpoint contains properties for the current user to avoid needing to decode the Bearer Token.

Permitted Actions

In most responses from the Dash API you will find a permittedActions property alongside a result property which contains the resource. This is to provide context for operations the current user is permitted to perform on that resource.

If an expected permitted action is not included in the permittedActions property then the current user does not have permission to perform the action.

The GET Current User endpoint houses permitted actions which are not associated with a specific API resource instance. e.g. If the current user has permission to create new Asset resources then the GET Current User permittedActions property will contain the permitted action ASSETS : CREATE_ASSETS.

Common Use Cases

Getting fields and field options for asset metadata

Asset.metadata consists of a map of String to String[]

The keys for map are Field IDs. Full details, including the field name, can be got via the GET Field endpoint or the full list of fields for an account can be retrieved via the GET Fields endpoint.

The map values are a list of plain text values if Field.hasFixedOptions = false or a list of FieldOption IDs if Field.hasFixedOptions = true

Where Field.hasFixedOptions = true details, including the field option name, can be got via the GET Field Option endpoint.

Where Field.hierarchical = true the complete branch of the tree will be returned and can be constructed via the FieldOption.parent property.

Getting the full schema of fields and field options

The full list of fields for an account can be retrieved via the GET Fields endpoint.

Where Field.hasFixedOptions = true the POST Field Option Searches endpoint can be used to get the available options.

Where Field.hierarchical = true you should start with a PARENT_ID FIELD_IS_EMPTY query to get the top level options and then PARENT_ID FIELD_EQUALS queries to get each sub-level.

Folders

A Folder in Dash is simply a FieldOption, for the built-in Folders Field. To determine the ID of the Folders Field, use the Folder Settings endpoint. Once you have this ID, Folders behave the same as any other Field.

For getting assets in folders see AssetSearch

For getting assets in no folders see the Search for field is empty example in the POST Asset Searches endpoint.

Creating a new asset

Assets are the main resources in Dash. An asset consists of a file, some fixed properties (such as the date the asset was added to Dash) and custom metadata.

To create new assets and upload files:

  1. Create an Asset and Upload batch job
  2. Wait for the job to complete by checking the GET Asset and upload batch job endpoint
  3. The completed job includes an AssetUpload resources in the job's result property. For each file you want to upload:
    • Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding AssetUploadPart.
    • Get the etag property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion)
  4. The assets will be created with a lifecycle status of STAGED. Use the POST Asset lifecycle transition batch job endpoint if you'd like to change the state of the assets (e.g. to PENDING_APPROVAL or LIVE).

Uploading a new file for an asset

  1. Create an AssetUpload via the POST Asset Upload endpoint
  2. Make PUT requests to upload your file part with the byte ranges specified to the URLs in the corresponding AssetUploadPart.
  3. Get the etag property from the response of each PUT request and use them to complete the upload via the (POST Asset Upload Completion)(#operation/postAssetUploadCompletion)

Getting asset file versions

The current AssetFile for an Asset is returned in the Asset resource via the Asset.currentFile property.

The GET Asset Files endpoint can be used to get all AssetFile resources for an Asset

Editing asset metadata

Edit the contents of one or more Asset.metadata map properties via the POST Asset Metadata Edit Batch Job endpoint and check on the progress and status of the edit via the GET Asset Metadata Edit Batch Job endpoint.

Getting user collections

  1. Get the current user ID from the current user details
  2. Use this ID in the ASSOCIATED_WITH_USER criterion of the POST Collection Search endpoint to get all collections a user has access to.
  3. To get the Asset resources in each collection see the All assets in a collection and Search within assets in a collection examples in the POST Asset Searches endpoint for how to specify the Collection.id in a COLLECTIONS : FIELD_EQUALS criterion.

Search by file extension

See the Search by file extension and Search by multiple file extensions example in the POST Asset Searches endpoint

Searching for changed assets

The following date properties exist on an asset and can be supplied as FIXED field criteria in the POST Asset Searches endpoint

There is currently no way to determine if only custom metadata has changes.

Migration from V1

Several breaking changes have been introduced in the switch from V1 to V2, which are all the result of three changes.

  • The domain is changing from brightdash.app to dash.app. All URLs used to access the API, including for authorisation, should be updated to the new domain.
  • The concept of "asset staging status" has been renamed to "asset lifecycle" with the introduction of the bin, which adds another state for assets that isn't just about the staging workflow. This second change manifests in the changing of the StagingWorkflowTransitionBatchJob to the LifecycleTransitionBatchJob, a refactoring of the asset model to bring the "date added" and "added by" fields together with other lifecycle information, and the renaming of the "date added" and "added by" fields to the more specific "date live" and "staged by".
  • Asset batch jobs used to only support carrying out operations on assets by a search criterion. This has been extended to also allow performing operations by id, so the "criterion" field has changed to a "selector" field which supports objects of either type.
  • The term Attribute has been renamed to Field throughout, to mirror the change of terminology within the Dash frontend.

All these changes are described in more specific detail below.

Domain

  • Domain has changed from brightdash.app to dash.app throughout the API.

Asset Staging Workflow

  • The path of this endpoint has changed from asset-staging-workflow-transition-batch-jobs to asset-lifecycle-transition-batch-jobs.
  • criterion in the POST body has become selector, and the criterion now needs to be wrapped in the following {"type": "BY_CRITERION", "criterion": {...}}.

Asset Searches

For both scroll and paged searches:

  • The following criterion.field.fieldName and sorts.field.fieldName values have been renamed:
    • DATE_ADDED -> DATE_LIVE
    • ADDED_BY -> STAGED_BY
  • The stagingStatus, addedBy, and dateAdded fields have been removed from the response. This data can now be found in the lifecycleStatus field.

Asset Deletion

  • criterion in the POST body has become selector, and the criterion now needs to be wrapped in the following {"type": "BY_CRITERION", "criterion": {...}}.

Asset Metadata Edit

  • criterion in the POST body has become selector, and the criterion now needs to be wrapped in the following {"type": "BY_CRITERION", "criterion": {...}}.

Search Filters

  • The value returned from the searchField field of search filter results of type HARD_CODED_FREE_OPTION have changed from DATE_ADDED to DATE_LIVE. This isn't really a breaking change as the specification says this field could return any string, but it feels worth mentioning.

Attributes/Fields

  • The string Attribute has been replaced with the string Field throughout. This includes e.g. AttributeOption being renamed to FieldOption. A simple find and replace should be enough to migrate.
Download OpenAPI description
Languages
Servers
Production
https://api-v2.dash.app
Staging
https://api-v2.dashstaging.app

Accounts

Coming soon; contact us if you need access to this API endpoint.

Operations

Account Security

Coming soon; contact us if you need access to this API endpoint.

Operations

Allowed Login Methods

Coming soon; contact us if you need access to this API endpoint.

Operations

Auto-Tagging Image Settings

Coming soon; contact us if you need access to this API endpoint.

Operations

Entity Quota Overrides

Coming soon; contact us if you need access to this API endpoint.

Operations

Folder Settings

For the most part Folders in Dash are just like any custom Field with Field.hasFixedOptions = true, Field.hierarchical = true and Field.multiValue = true.

The Folders Field also has the following behaviour.

  • It cannot be deleted - Field.indestructable = true
  • It is used to define Asset permissions for a UserGroup (currently only configurable via the Dash frontend, not via the API)
  • A quick browse widget of your Folders Field appears on your Dash app homepage.

Folder Settings specify the Field.id of the Folders Field in your Dash.

Operations

Onboarding Checklist

Coming soon; contact us if you need access to this API endpoint.

Operations

Preset Transformations

Operations

Search Filters

The Search Filter View defines which filters appear, and the order in which they appear, in the left hand filter bar on the search page in the Dash frontend. These filters are used to build search criteria.

Filters either refer to a Field in your Dash or a one of a subset of the fixed search fields available in the search API (currently DATE_LIVE, FILE_TYPE or STAGED)

Operations

Shopify SKU Settings

Coming soon; contact us if you need access to this API endpoint.

Operations

Subscription

Coming soon; contact us if you need access to this API endpoint.

Operations

Text In Image Settings

Coming soon; contact us if you need access to this API endpoint.

Operations

Terms and Conditions

Coming soon; contact us if you need access to this API endpoint.

Operations

Theme

Coming soon; contact us if you need access to this API endpoint.

Operations

AI Image Generations

Coming soon; contact us if you need access to this API endpoint.

Operations

Reference Image Uploads

Operations

Assets

An Asset is the main resource in Dash. It consists of:

For the sake of performance any Field and FieldOption resources referenced in the Asset.metadata.values will need to be retrieved separately, if required.

Operations

Asset Comments

Coming soon; contact us if you need access to this API endpoint.

Operations

Asset Deduplication

Coming soon; contact us if you need access to this API endpoint.

Operations

Asset Metadata Export

Coming soon; contact us if you need access to this API endpoint.

Operations

Asset Saved Crop Area Summaries

An Asset Saved Crop Area Summary resource is a saved crop area summary for a given AssetFile of an Asset.

Operations

Asset Saved Crop Areas

An Asset Saved Crop Area resource is a saved crop area for a given AssetFile of an Asset.

Operations

Asset Shares

An AssetShare resource is a set of Assets which has been publicly shared. This can be for a limited period of time or forever.

The assets shared can be view only or can also be downloaded.

Operations

Asset Share Access Tokens

Operations

Asset Share Emails

Operations

Collections

A Collection is a user defined set of Asset resources.

The Asset resources in a Collection are not returned with the Collection resource. To get the Asset resources you must create an Asset Search and use the Collection.id as the value in a COLLECTIONS : FIELD_EQUALS criterion.

Searching allows you to find Collection resources in your Dash matching specific criteria.

A list of sorts can also be provided to control the order in the which the results are returned.

Operations

Collection Shares

A CollectionShare is a Collection that has been made accessible to anyone with the id or slug of the Collection.

Searching allows you to find CollectionShare resources in your Dash matching specific criteria.

A list of sorts can also be provided to control the order in the which the results are returned.

Operations

Cloud Connections

Coming soon; contact us if you need access to this API endpoint.

Operations

Cloud Import Jobs

Coming soon; contact us if you need access to this API endpoint.

Operations

Cloud Objects

Coming soon; contact us if you need access to this API endpoint.

Operations

Subdomains

A SubdomainAvailabilityCheck is used to check whether a Dash subdomain is in use or not.

Operations

Ping

Operations

Asset Download Events

An Asset Download Event Search allows you to search and aggregate over Asset Download Events

Criteria can be constructed based on exact or ranged comparison of the queryable event fields listed in the request schema below. Some fields like USER_TYPE and DOWNLOAD_TYPE have a fixed set of possible values which can be determined from the response scheme below.

The logical operators AND, OR and NOT are provided to support complex queries based on multiple fields.

A list of sorts can also be provided to control the order in the which the results are returned.

Only the ids of referenced resources such as Portal and Asset are provided in the response, which can then be used to GET the full resources.

Aggregations operations can also be performed on the events described by the criteria, in order to, for example

  • Search across all downloads and count the number of downloads for each asset
  • Search downloads for a specific user and count the number of downloads per month

Note, an Asset Download Event Search will only allow you to page to 10,000 but values returned in any aggregations and the totalResults property will be correct.

Operations

Fields

Field resources define the custom metadata schema for Asset resources in your Dash account. Every Asset in your Dash account can be assigned a value or values for each Field you define.

The type and structure of the data stored against the Asset for each Field is described by a series of properties specified on the Field.

Operations

Field Options

FieldOption resources define the set of valid choices for a Field when Field.hasFixedOptions = true.

An FieldOption has human-readable FieldOption.value and an FieldOption.position which determines the order in which it appears in relation to the other FieldOption resources for a Field.

If Field.hierarchical = true then FieldOption.parent is the FieldOption which is the parent node of the FieldOption in the tree. FieldOption.position then determines the order in which the option appears in relation to the other options with the same FieldOption.parent.

The FieldOption resource intentionally does not include the list of child FieldOption resources. This is to prevent costly loading of large FieldOption tree structures. FieldOption.leaf and FieldOption.numberOfChildren properties can be used to determine the number of children for a node, but it is recommended to implement a combination of lazy-loading strategies using the GET Field Option and POST Field Option Searches resources for retrieval.

e.g. Doing a GET Field Option with an FieldOption.id value found in Asset.metadata.values will give the complete branch of the tree necessary in the context of the viewing that Asset via the FieldOption.parent property. For traversing down an FieldOption tree POST Field Option Searches can be used to first get all the top-level options and then each sub level as and when needed.

Searching allows you to find FieldOption resources in your Dash matching specific criteria

Criteria can be constructed based on direct comparison or pattern matching of a set of fixed FieldOption properties.

The logical operators AND, OR and NOT are provided to support complex queries based on multiple fields.

A list of sorts can also be provided to control the order in the which the results are returned.

Operations

Field Option Images

Coming soon; contact us if you need access to this API endpoint.

Operations

Field Views

FieldViews provide an ordered view of a subset of Fields, which can be configured by admins. This can be used to decide which Fields to show alongside Assets in different contexts.

Operations

Guest Uploads

Guest Uploads allow guests to upload assets to a specific Folder.

Operations

Guest Upload Access Tokens

Operations

Guest Upload Emails

Operations

Publicly Available Guest Upload Data

Operations

Corebook

At present the Corebook integration with Dash is configured entirely within Corebook. However, Dash allows admins to set their CorebookSettings.corebookUrl, which will then show up as a "Brand" link to all users.

Operations

Custom

Operations

External App

Operations

Shopify

Coming soon; contact us if you need access to this API endpoint.

Operations

WordPress

Operations

Portals

Portals allow a public (or passcode protected) view on Assets within a set of folders.

Operations

Portal Access Tokens

Operations

Portal Emails

Operations

Publicly Available Portal Datas

Operations

Saved Searches

A SavedSearch is an AssetSearch(#operation/postAssetSearch).criterion and AssetSearch(#operation/postAssetSearch).sorts that have been saved by a user. The user may also chose to receive email updates every time a new asset matches the saved criterion.

Searching allows you to find SavedSearches resources in your Dash matching specific criteria.

Operations

Groups

Groups are used to specify the permissions of Users in Dash.

Operations

Staff Members

Coming soon; contact us if you need access to this API endpoint.

Operations

Users

The User resource contains information about a user in Dash such as their email address and their name (if provided).

Operations

Search for users

Request

Create a new UserSearch

Security
bearerToken
Bodyapplication/jsonrequired
fromintegerrequired

The item number to begin the result set from

Default 0
Example: 0
pageSizeintegerrequired

The maximum number of items to return in the result set

Default 100
Example: 100
criterionanyrequired
typestringrequired
Value"MATCH_ALL"
Discriminator
sortsArray of objectsrequired

Sorts to be applied to the search in order of precedence

fieldstringrequired

The name of the User property value to sort buy

Value"EMAIL"
Example: "EMAIL"
orderstringrequired

The order of the sort

Enum"ASC""DESC"
curl -i -X POST \
  https://api-v2.dash.app/user-searches \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "from": 0,
    "pageSize": 100,
    "criterion": {
      "type": "MATCH_ALL"
    },
    "sorts": [
      {
        "field": "EMAIL",
        "order": "ASC"
      }
    ]
  }'

Responses

Success

Bodyapplication/json
resultsArray of objectsrequired

The specified page of User resources which match the search criterion

resultanyrequired
typestringrequired
Value"ACTIVE_ACCOUNT_USER"
Discriminator
accountIdstringrequired

The unique ID of the Account the User belongs to

Example: "cfb665ca-ce35-4418-b9d5-70ee815db4bd"
idstringrequired

The unique ID of the User

Example: "google-oauth2|110955770826801837334"
emailstringrequired

The email address of the User

Example: "john.smith@gmail.com"
permissionsanyrequired
permissionsTypestringrequired
Value"ADMIN"
Discriminator
namestring or null

The full name of the user.

Example: "Ken Hassleback"
firstNamestring

The first name of the user

Example: "Ken"
lastNamestring

The last name of the user

Example: "Hassleback"
picturestring or null

A URL for the profile picture of the user, if they have one

Example: "https://example.com/john-smith-picture.jpg"
lastLoginstring or null(date-time)

The datetime the user last logged in, in ISO offset format

Example: "2021-02-16T16:21:58.640+00:00"
permittedActionsArray of objectsrequired
resourceTypestringrequired

Defines the type of the resource that is being permitted to act on

Enum"ACCOUNT""ASSET""ASSET_SHARES""ASSETS""ASSETS_IN_NO_FOLDERS""CLOUD_CONNECTION""CLOUD_CONNECTIONS""COLLECTION""COLLECTIONS""COMMENT"
Example: "ASSET"
resourceIdstring

The ID of the resource that is being permitted to act on. This may be null if the permission is on the resource type as a whole rather than an individual instance.

Example: "7af90a8b-7ccd-430f-a85d-e8614015bc47"
actionstringrequired

Defines the action that is being permitted

Enum"ADD_ASSET_TO_COLLECTION""ADD_COLLABORATOR_TO_COLLECTION""APPROVE_ASSETS""CONFIGURE_SHOPIFY_INTEGRATION""CREATE_ASSET_SHARES""CREATE_ASSETS""CREATE_CHILD_FIELD_OPTIONS""CREATE_CLOUD_CONNECTIONS""CREATE_COLLECTIONS""CREATE_COLLECTION_COMMENTS"
Example: "VIEW_ASSET"
totalResultsintegerrequired

The total number of User resources which match the search criterion

Example: 10
Response
application/json
{ "results": [ {} ], "totalResults": 10 }

Delete a user

Request

Delete a User with the option to delete all AssetShares belonging to that user

Security
bearerToken
Bodyapplication/jsonrequired
idstring

The unique ID of the User or the User's email

Example: "cfb665ca-ce35-4418-b9d5-70ee815db4bd"
deleteAssetSharesboolean

Whether to delete all AssetShares belonging to the User

Example: true
curl -i -X POST \
  https://api-v2.dash.app/user-deletes \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "cfb665ca-ce35-4418-b9d5-70ee815db4bd",
    "deleteAssetShares": true
  }'

Responses

Success

Response
No content

Get the current user

Request

Get the currently authenticated User

Security
bearerToken
curl -i -X GET \
  https://api-v2.dash.app/current-user \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success

Bodyapplication/json
resultanyrequired
typestringrequired
Value"ACTIVE_ACCOUNT_USER"
Discriminator
accountIdstringrequired

The unique ID of the Account the User belongs to

Example: "cfb665ca-ce35-4418-b9d5-70ee815db4bd"
idstringrequired

The unique ID of the User

Example: "google-oauth2|110955770826801837334"
emailstringrequired

The email address of the User

Example: "john.smith@gmail.com"
permissionsanyrequired
permissionsTypestringrequired
Value"ADMIN"
Discriminator
namestring or null

The full name of the user.

Example: "Ken Hassleback"
firstNamestring

The first name of the user

Example: "Ken"
lastNamestring

The last name of the user

Example: "Hassleback"
picturestring or null

A URL for the profile picture of the user, if they have one

Example: "https://example.com/john-smith-picture.jpg"
lastLoginstring or null(date-time)

The datetime the user last logged in, in ISO offset format

Example: "2021-02-16T16:21:58.640+00:00"
permittedActionsArray of objectsrequired

Permitted actions which are not associated with a specific API resource instance are included here.

  • ASSETS : CREATE_ASSETS - Whether the user can create new assets
  • ASSETS : PUT_ASSETS_IN_NO_FOLDER - Whether the user can create / edit an Asset resources such that they have no value for the Folder Field
  • ASSETS : SET_ASSETS_STAGING_STATUS_LIVE - Whether the user can set Asset.lifecycleStatus.state to LIVE via the Asset Lifecycle
  • FIELDS : EDIT_FIELDS - Whether the user can create, edit and delete Field and FieldOption resources
resourceTypestringrequired

Defines the type of the resource that is being permitted to act on

Enum"ACCOUNT""ASSET""ASSET_SHARES""ASSETS""ASSETS_IN_NO_FOLDERS""CLOUD_CONNECTION""CLOUD_CONNECTIONS""COLLECTION""COLLECTIONS""COMMENT"
Example: "ASSET"
resourceIdstring

The ID of the resource that is being permitted to act on. This may be null if the permission is on the resource type as a whole rather than an individual instance.

Example: "7af90a8b-7ccd-430f-a85d-e8614015bc47"
actionstringrequired

Defines the action that is being permitted

Enum"ADD_ASSET_TO_COLLECTION""ADD_COLLABORATOR_TO_COLLECTION""APPROVE_ASSETS""CONFIGURE_SHOPIFY_INTEGRATION""CREATE_ASSET_SHARES""CREATE_ASSETS""CREATE_CHILD_FIELD_OPTIONS""CREATE_CLOUD_CONNECTIONS""CREATE_COLLECTIONS""CREATE_COLLECTION_COMMENTS"
Example: "VIEW_ASSET"
deniedActionsWithReasonsArray of objects

Actions that are denied due to the user's account plan, along with the reason for denial.

Response
application/json
{ "result": { "type": "ACTIVE_ACCOUNT_USER", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "id": "google-oauth2|110955770826801837334", "email": "john.smith@gmail.com", "permissions": {}, "name": "Ken Hassleback", "firstName": "Ken", "lastName": "Hassleback", "picture": "https://example.com/john-smith-picture.jpg", "lastLogin": "2021-02-16T16:21:58.640+00:00" }, "permittedActions": [ {} ], "deniedActionsWithReasons": [ {} ] }

User Referrer

Coming soon; contact us if you need access to this API endpoint.

Operations

User Preferences

Coming soon; contact us if you need access to this API endpoint.

Operations