Service: zimbraAccount
Namespace: "urn:zimbraAccount"
CreateSignature SOAP Command

Create a signature.

If an id is provided it will be honored as the id for the signature.

CreateSignature will set account default signature to the signature being created if there is currently no default signature for the account.

There can be at most one text/plain signatue and one text/html signature.

{contact-id} contact id associated with this signature

Authorization token required true
Admin Authorization token required false

CreateSignatureRequest

    <CreateSignatureRequest> ## CreateSignatureRequest
        <signature [id="{signature-id}"] [name="{signature-name}"]> ## Signature
            (<content [type="{signature-content-type}"]>{content}</content> ## SignatureContent)*
            <cid>{cid} (String)</cid>
        </signature>
    </CreateSignatureRequest>

The following table describes elements and attributes you can define within a <CreateSignatureRequest> element:

XPath Required / Optional Description
/signature Required (only 1) Details of the signature to be created
/signature@id Optional (0 or 1) Type:String
ID for the signature
/signature@name Optional (0 or 1) Type:String
Name for the signature
/signature/content Optional (0 or more) Type:{content}
Content of the signature
Description for element text content:Signature value
/signature/content@type Optional (0 or 1) Type:String
Content Type - "text/plain" or "text/html"
/signature/cid Optional (0 or 1) Type:{cid} (String)
Contact ID

CreateSignatureResponse

    <CreateSignatureResponse> ## CreateSignatureResponse
        <signature [name="..."] [id="..."] /> ## NameId
    </CreateSignatureResponse>

The following table describes elements and attributes you can define within a <CreateSignatureResponse> element:

XPath Required / Optional Description
/signature Required (only 1) Information about created signature
/signature@name Optional (0 or 1) Type:String
Name
/signature@id Optional (0 or 1) Type:String
ID