{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dyspatch Blocks Tags API",
    "version": "2026.06"
  },
  "items": [
    {
      "info": {
        "name": "Tags",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Add Tags to a Resource",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.dyspatch.io/tags/assign/:resourceId",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "resourceId",
                "value": "",
                "type": "path",
                "description": "A template or draft ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Add a set of tags to a specified resource (template or draft)"
        },
        {
          "info": {
            "name": "Unassign Tags from a Resource",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.dyspatch.io/tags/unassign/:resourceId",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "resourceId",
                "value": "",
                "type": "path",
                "description": "A template or draft ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Unassign a set of tags from a specified resource (template or draft)"
        },
        {
          "info": {
            "name": "Get Tags",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.dyspatch.io/tags",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "A tag type"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "query",
                "description": "An ID of a workspace"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a list of all tags in the organization"
        },
        {
          "info": {
            "name": "Get Tag by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.dyspatch.io/tags/:tagId",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path",
                "description": "A tag ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Returns a tag object with the matching ID"
        },
        {
          "info": {
            "name": "Create a Tag",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.dyspatch.io/tags/create",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new tag"
        },
        {
          "info": {
            "name": "Update a Tag",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.dyspatch.io/tags/update/:tagId",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path",
                "description": "A tag ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Updates an existing tag"
        },
        {
          "info": {
            "name": "Delete a Tag",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.dyspatch.io/tags/delete/:tagId",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path",
                "description": "A tag ID"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Deletes a tag with the matching ID"
        }
      ]
    }
  ],
  "bundled": true
}