---
updatedAt: 2026-07-29T19:14:57.000Z
agentTools:
  projectIndex: https://docs.wistia.com/llms.txt
---

# Resolve Resource URLs

Resolves a resource's hashed ID and type to its canonical app URL(s) — deep
links an authorized user can open in the Wistia UI. The URL is only returned
when the authenticated user is allowed to view the resource.

## Requires api token with one of the following permissions
```
Read all data
```

Tokens with the "Act with a team member's permissions" permission
(`all:delegate_to_contact_permissions` scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.


# OpenAPI definition

````json
{
  "openapi": "3.1.1",
  "info": {
    "title": "Data API",
    "description": "Wistia Data API",
    "version": "2026.09.0"
  },
  "servers": [
    {
      "url": "https://api.wistia.com/modern"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Resource URLs"
    }
  ],
  "paths": {
    "/resource_urls": {
      "get": {
        "summary": "Resolve Resource URLs",
        "x-speakeasy-group": "resourceUrls",
        "x-speakeasy-name-override": "resolve",
        "description": "Resolves a resource's hashed ID and type to its canonical app URL(s) — deep\nlinks an authorized user can open in the Wistia UI. The URL is only returned\nwhen the authenticated user is allowed to view the resource.\n\n## Requires api token with one of the following permissions\n```\nRead all data\n```\n\nTokens with the \"Act with a team member's permissions\" permission\n(`all:delegate_to_contact_permissions` scope) can also be used. Requests\nmade with such a token are authorized using the permissions of the\ncontact assigned to the token.\n",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "description": "The kind of resource the hashed ID refers to.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "media",
                "folder",
                "channel",
                "channel_episode",
                "webinar",
                "remix"
              ]
            }
          },
          {
            "name": "hashed_id",
            "in": "query",
            "description": "The hashed ID of the resource.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "4d23503f70"
          },
          {
            "name": "X-Wistia-API-Version",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "2026-09"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The resource's canonical URLs",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "The kind of resource that was resolved."
                    },
                    "hashed_id": {
                      "type": "string",
                      "description": "The hashed ID of the resolved resource."
                    },
                    "urls": {
                      "unevaluatedProperties": false,
                      "type": "object",
                      "description": "The resource's canonical app URLs, keyed by kind.",
                      "properties": {
                        "show": {
                          "type": "string",
                          "description": "The page where the resource is viewed."
                        }
                      },
                      "required": [
                        "show"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "hashed_id",
                    "urls"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "description": "Error message detailing the reason for the bad request.",
                      "type": "string",
                      "examples": [
                        "Bad request"
                      ]
                    },
                    "errors": {
                      "description": "Array of error messages detailing the reasons for the bad request.",
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized, invalid or missing token",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "code": {
                      "description": "A machine-readable identifier for the specific authorization failure.",
                      "type": "string",
                      "enum": [
                        "unauthorized_credentials",
                        "account_inactive",
                        "unauthorized_scope",
                        "unauthorized_params"
                      ]
                    },
                    "error": {
                      "type": "string",
                      "examples": [
                        "Invalid credentials."
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Resource not found",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Folder with ID 'fakeid' not found."
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Internal server error"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Resource URLs"
        ],
        "x-readme": {
          "code-samples": [
            {
              "name": "Typescript (SDK)",
              "language": "javascript",
              "code": "import { Wistia } from \"@wistia/wistia-api-client\";\n\nconst wistia = new Wistia({\n  bearerAuth: process.env[\"WISTIA_BEARER_AUTH\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await wistia.resourceUrls.resolve({\n    type: \"remix\",\n    hashedId: \"4d23503f70\",\n  });\n\n  console.log(result);\n}\n\nrun();"
            }
          ]
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "javascript",
      "shell",
      "node",
      "python",
      "ruby"
    ]
  }
}
````