Asana · Schema

AttachmentRequest

CollaborationProductivityProject ManagementProjectTask ManagementTaskWorkflows

Properties

Name Type Description
resource_subtype string The type of the attachment. Must be one of the given values. If not specified, a file attachment of type `asana` will be assumed. Note that if the value of `resource_subtype` is `external`, a `parent`
file string Required for `asana` attachments.
parent string Required identifier of the parent task, project, or project_brief, as a string.
url string The URL of the external resource being attached. Required for attachments of type `external`.
name string The name of the external resource being attached. Required for attachments of type `external`.
connect_to_app boolean *Optional*. Only relevant for external attachments with a parent task. A boolean indicating whether the current app should be connected with the attachment for the purposes of showing an app component
View JSON Schema on GitHub

JSON Schema

asana-attachmentrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AttachmentRequest",
  "title": "AttachmentRequest",
  "type": "object",
  "required": [
    "parent"
  ],
  "properties": {
    "resource_subtype": {
      "description": "The type of the attachment. Must be one of the given values. If not specified, a file attachment of type `asana` will be assumed. Note that if the value of `resource_subtype` is `external`, a `parent`, `name`, and `url` must also be provided.\n",
      "type": "string",
      "example": "external",
      "enum": [
        "asana",
        "dropbox",
        "gdrive",
        "onedrive",
        "box",
        "vimeo",
        "external"
      ]
    },
    "file": {
      "description": "Required for `asana` attachments.\n",
      "type": "string",
      "format": "binary"
    },
    "parent": {
      "description": "Required identifier of the parent task, project, or project_brief, as a string.\n",
      "type": "string"
    },
    "url": {
      "description": "The URL of the external resource being attached. Required for attachments of type `external`.\n",
      "type": "string"
    },
    "name": {
      "description": "The name of the external resource being attached. Required for attachments of type `external`.\n",
      "type": "string"
    },
    "connect_to_app": {
      "description": "*Optional*. Only relevant for external attachments with a parent task. A boolean indicating whether the current app should be connected with the attachment for the purposes of showing an app components widget. Requires the app to have been added to a project the parent task is in.\n",
      "type": "boolean"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/asana-attachmentrequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.