# Get Shared Marketing Campaign Template

Reads one shared automation template: its settings in the keys update-shared-automation-template changes, and the app's view with its links, the template link included. Without an ID it returns the creation defaults, which have no template link yet.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "null",
        "integer"
      ],
      "description": "ID of the shared automation template, from search-shared-automation-templates; omit for the creation defaults",
      "default": null,
      "minimum": 1
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "type",
    "id",
    "settings",
    "ui"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "settings": {
      "type": "object"
    },
    "ui": {
      "type": "object"
    }
  },
  "additionalProperties": false
}
```

