GET
/
assets
/
v2
List All Assets
curl --request GET \
  --url https://apis.experro.app/assets/v2 \
  --header 'Authorization: Bearer <token>' \
  --header 'x-environment-id: <x-environment-id>' \
  --header 'x-tenant-id: <x-tenant-id>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "Status": "success",
  "Data": {
    "records": [
      {
        "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "alt_text": "<string>",
        "caption": "<string>",
        "size": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "modified_at": "2023-11-07T05:31:56Z",
        "modified_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "relative_path": "<string>",
        "public_url": "<string>"
      }
    ],
    "_meta_": {
      "tenant_id": "<string>",
      "workspace_id": "<string>",
      "limit": 123,
      "total_rows": 123,
      "offset": 123
    }
  }
}
Before calling this endpoint, make sure you’ve generated an API token and picked the correct domain. See Authentication & Base URLs.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-tenant-id
string
required

Identifier for the tenant. Ensures data isolation per tenant.

x-workspace-id
string
required

Workspace identifier within the tenant. Scopes resources to a specific workspace.

x-environment-id
string
required

Unique identifier of the target environment. Used to scope the API call to a specific deployment environment.

Example:

"PRODUCTION-15a0f8c2-a5e8-4e40-ae74-cb1389d22f45-w49jkngj"

Query Parameters

locale
string
required

Specifies the language or region for the response data

sort_order
string

Order in which to sort assets: asc (oldest first) or desc (newest first).

sort_by
string

Field used to sort the results.

limit
integer

Maximum number of items to return.

offset
integer

Skips the specified number of results from the beginning.

Response

200
application/json

A list of asset objects.

The response is of type object.