# Get Email Signature

Reads one email signature with its name, notes, labels, tag IDs, sender profile, digital business card, content flags, usability and blockers. includeContent adds the HTML, plain and transactional content itself, which is the bulk of the answer. isUsable includes the effective sender identity and domain; an empty stored senderEmail follows the account address.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "signatureId": {
      "type": "integer",
      "description": "ID of the signature to read",
      "minimum": 1
    },
    "includeContent": {
      "type": [
        "null",
        "boolean"
      ],
      "description": "True to include HTML, plain and transactional content; omit to return only content flags",
      "default": null
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account that owns the signature; omit for the token account, or pass an accessible subaccount ID",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "signatureId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "signatureId",
    "name",
    "isDefault",
    "notes",
    "metaLabels",
    "tagIds",
    "isUsable",
    "blockers",
    "senderProfile",
    "vCard",
    "content",
    "editUrl"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "signatureId": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "isDefault": {
      "type": "boolean"
    },
    "notes": {
      "type": "string"
    },
    "metaLabels": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tagIds": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "isUsable": {
      "type": "boolean"
    },
    "blockers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "senderProfile": {
      "type": "object",
      "required": [
        "senderName",
        "senderEmail",
        "replyToEmail",
        "ccEmail",
        "bccEmail",
        "toEmail",
        "senderDomain",
        "senderAddressStatus",
        "senderAddressIsUsable",
        "senderAddressExplanation",
        "senderIdentity"
      ],
      "properties": {
        "senderName": {
          "type": "string"
        },
        "senderEmail": {
          "type": "string"
        },
        "replyToEmail": {
          "type": "string"
        },
        "ccEmail": {
          "type": "string"
        },
        "bccEmail": {
          "type": "string"
        },
        "toEmail": {
          "type": "string"
        },
        "senderDomain": {
          "type": "string"
        },
        "senderAddressStatus": {
          "type": "string",
          "enum": [
            "",
            "dkim-valid",
            "not-confirmed",
            "no-domain",
            "dkim-invalid",
            "not-configured"
          ]
        },
        "senderAddressIsUsable": {
          "type": "boolean"
        },
        "senderAddressExplanation": {
          "type": "string"
        },
        "senderIdentity": {
          "type": "object",
          "required": [
            "effectiveSenderEmail",
            "customerDomain",
            "normalizedSenderDomain",
            "status",
            "isUsable",
            "senderEmailOptions",
            "senderDomainOptions"
          ],
          "properties": {
            "effectiveSenderEmail": {
              "type": [
                "string",
                "null"
              ]
            },
            "customerDomain": {
              "type": [
                "string",
                "null"
              ]
            },
            "normalizedSenderDomain": {
              "type": [
                "string",
                "null"
              ]
            },
            "status": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "ready",
                "address-not-configured",
                "address-not-confirmed",
                "address-not-usable",
                "address-blocked",
                "domain-not-configured",
                "domain-not-verified",
                "domain-not-yet-usable",
                "domain-mismatch",
                null
              ]
            },
            "isUsable": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "senderEmailOptions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "senderDomainOptions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "vCard": {
      "type": "object",
      "required": [
        "hasData",
        "firstName",
        "lastName",
        "companyName",
        "emailAddress",
        "phone",
        "cellPhone",
        "street",
        "zip",
        "city",
        "state",
        "country",
        "website"
      ],
      "properties": {
        "hasData": {
          "type": "boolean"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        },
        "companyName": {
          "type": "string"
        },
        "emailAddress": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        },
        "cellPhone": {
          "type": "string"
        },
        "street": {
          "type": "string"
        },
        "zip": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "website": {
          "type": "string"
        }
      }
    },
    "content": {
      "type": "object",
      "required": [
        "hasHtml",
        "hasPlain",
        "hasTransactionalHtml",
        "useInTransactionalEmails",
        "html",
        "plain",
        "transactionalHtml"
      ],
      "properties": {
        "hasHtml": {
          "type": "boolean"
        },
        "hasPlain": {
          "type": "boolean"
        },
        "hasTransactionalHtml": {
          "type": "boolean"
        },
        "useInTransactionalEmails": {
          "type": "boolean"
        },
        "html": {
          "type": [
            "string",
            "null"
          ]
        },
        "plain": {
          "type": [
            "string",
            "null"
          ]
        },
        "transactionalHtml": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "editUrl": {
      "type": "string"
    }
  }
}
```

