<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.safestamper.com/index.php?action=history&amp;feed=atom&amp;title=Signature%2Fsign</id>
	<title>Signature/sign - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.safestamper.com/index.php?action=history&amp;feed=atom&amp;title=Signature%2Fsign"/>
	<link rel="alternate" type="text/html" href="https://wiki.safestamper.com/index.php?title=Signature/sign&amp;action=history"/>
	<updated>2026-06-15T21:55:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.safestamper.com/index.php?title=Signature/sign&amp;diff=85&amp;oldid=prev</id>
		<title>Adminwiki: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.safestamper.com/index.php?title=Signature/sign&amp;diff=85&amp;oldid=prev"/>
		<updated>2023-10-17T11:27:28Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:27, 17 October 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Adminwiki</name></author>
	</entry>
	<entry>
		<id>https://wiki.safestamper.com/index.php?title=Signature/sign&amp;diff=84&amp;oldid=prev</id>
		<title>api&gt;Admin at 07:23, 6 October 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.safestamper.com/index.php?title=Signature/sign&amp;diff=84&amp;oldid=prev"/>
		<updated>2021-10-06T07:23:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Uploads a document for signing&lt;br /&gt;
&lt;br /&gt;
This operation receives HTML text that will be converted to PDF.&lt;br /&gt;
Any CSS or image file used by this HTML must be referenced using a full URL that is publicly accessible. &lt;br /&gt;
You may also use &amp;lt;style&amp;gt; blocks for CSS styles and [http://wiki.developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs data urls] for images and other files. This HTML should be simple and only include formatted text and images. It will be sanitized before its conversion to PDF, removing any problematic content such as javascript code. &lt;br /&gt;
&lt;br /&gt;
You can upload a PDF file instead using [[signature/sign-pdf]].&lt;br /&gt;
&lt;br /&gt;
For each signature, the signer name and email is provided.&lt;br /&gt;
&lt;br /&gt;
An email or SMS will be sent to each document signer with an URL they must visit to sign the document.&lt;br /&gt;
When all signers have added their signature, a signature certificate will be generated and sent to all the document signers, and to the document sender e-mail address if specified.&lt;br /&gt;
&lt;br /&gt;
Document signing process status can be queried using [[signature/status]].&lt;br /&gt;
&lt;br /&gt;
If your API client has a [[API Overview#API callbacks|callback URL]], it will receive the following callbacks:&lt;br /&gt;
* DOCUMENT_SIGNATURE: When a signer signs the document&lt;br /&gt;
* SIGNATURE_CERTIFICATE: When the document signature certificate is ready&lt;br /&gt;
&lt;br /&gt;
These callbacks receive the same JSON as returned from [[signature/status]].&lt;br /&gt;
&lt;br /&gt;
= URL =&lt;br /&gt;
&amp;lt;nowiki&amp;gt;https://www.safestamper.com/api/signature/sign&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Parameters =&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;sharedkey&amp;#039;&amp;#039;&amp;#039;: Your API client shared key&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;authkey&amp;#039;&amp;#039;&amp;#039;: Authorization key, if needed&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;html&amp;#039;&amp;#039;&amp;#039;: HTML of the document to sign&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;title&amp;#039;&amp;#039;&amp;#039;: Document title&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;lang&amp;#039;&amp;#039;&amp;#039;: Language for signer e-mails and signature pages (default: es)&lt;br /&gt;
** &amp;#039;&amp;#039;es&amp;#039;&amp;#039;: Spanish&lt;br /&gt;
** &amp;#039;&amp;#039;en&amp;#039;&amp;#039;: English&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;signaturemode&amp;#039;&amp;#039;&amp;#039;: How the signers will sign the document (default: GRAPHIC)&lt;br /&gt;
** &amp;#039;&amp;#039;GRAPHIC&amp;#039;&amp;#039;: Graphic signature&lt;br /&gt;
** &amp;#039;&amp;#039;SMS&amp;#039;&amp;#039;: One-time code sent by SMS&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;sendername&amp;#039;&amp;#039;&amp;#039;: Name of the person or organization that sends this document to its signers. It will be referenced in the e-mail that the signers receive.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;senderemail&amp;#039;&amp;#039;&amp;#039;: E-mail address of the person or organization that sends this document to its signers (optional). If included, the signed document certificate will also be sent to this e-mail address.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;signername&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;: Signer name for signature N&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;notifymode&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;: How to send the signature link to signer N (default: EMAIL)&lt;br /&gt;
** &amp;#039;&amp;#039;EMAIL&amp;#039;&amp;#039;: Send link by e-mail&lt;br /&gt;
** &amp;#039;&amp;#039;SMS&amp;#039;&amp;#039;: Send link by SMS&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;signeremail&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;: Signer e-mail address for signature N. Required for EMAIL notifymode&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;signerphone&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;: Signer mobile phone number for signature N. Required for SMS notifymode&lt;br /&gt;
** Phone number must include country prefix and no spaces or hyphens (eg. +34123456789)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;signerlang&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;: Language for communication with signer N. Optional, defaults to document language (lang parameter).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;signature&amp;#039;&amp;#039;&amp;#039;: Parameters signature, as explained in [[Signature parameter]]&lt;br /&gt;
&lt;br /&gt;
= Returns =&lt;br /&gt;
&lt;br /&gt;
A JSON object with the following fields:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;code&amp;#039;&amp;#039;&amp;#039;: Document code&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;title&amp;#039;&amp;#039;&amp;#039;: Document title&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;senderName&amp;#039;&amp;#039;&amp;#039;: Sender name&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;senderEmail&amp;#039;&amp;#039;&amp;#039;: Sender e-mail address&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;entryDate&amp;#039;&amp;#039;&amp;#039;: Date of upload&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;state&amp;#039;&amp;#039;&amp;#039;: Document state&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;PENDING&amp;#039;&amp;#039;&amp;#039;: The document doesn&amp;#039;t have all its signatures&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;SIGNED&amp;#039;&amp;#039;&amp;#039;: The document has all its signatures and it has generated a signing certificate&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;certificateCode&amp;#039;&amp;#039;&amp;#039;: Code of the signature certificate, if it has already been generated (for SIGNED documents)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;certificateUrl&amp;#039;&amp;#039;&amp;#039;: Validation URL of the signature certificate, if it has already been generated (for SIGNED documents)&lt;br /&gt;
** If the document status is queried when the document has just been signed by its last signer, it may be in SIGNED state, but the certificate may still be in process and the URL will not be available.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;signatures&amp;#039;&amp;#039;&amp;#039;: The list of signatures&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;signerName&amp;#039;&amp;#039;&amp;#039;: Signer name&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;signerEmail&amp;#039;&amp;#039;&amp;#039;: Signer e-mail address&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;state&amp;#039;&amp;#039;&amp;#039;: Signature state&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;PENDING&amp;#039;&amp;#039;&amp;#039;: The signer has not answered yet&lt;br /&gt;
*** &amp;#039;&amp;#039;&amp;#039;SIGNED&amp;#039;&amp;#039;&amp;#039;: The signer has signed the document&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;signerIP&amp;#039;&amp;#039;&amp;#039;: IP address from which the document was signed&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;signatureDate&amp;#039;&amp;#039;&amp;#039;: Date of signature&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= HTTP Errors =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;403&amp;#039;&amp;#039;&amp;#039; Forbidden, the sharedkey or parameter signature are not valid&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;401&amp;#039;&amp;#039;&amp;#039; Unauthorized, the authkey is not valid &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;400&amp;#039;&amp;#039;&amp;#039; Parameter errors&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;429&amp;#039;&amp;#039;&amp;#039; Your Safe Stamper user has no certification credits available&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;430&amp;#039;&amp;#039;&amp;#039; Your Safe Stamper user has no storage space available&lt;br /&gt;
&lt;br /&gt;
= Example =&lt;br /&gt;
&lt;br /&gt;
This example uploads a document with 2 signers&lt;br /&gt;
&lt;br /&gt;
REQUEST (line jumps are not included in the request):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
https://www.safestamper.com/api/signature/sign&lt;br /&gt;
?sharedkey=5hmpod0d2vx7fnh6ysxab3olz&lt;br /&gt;
&amp;amp;html=&amp;lt;html&amp;gt;&lt;br /&gt;
      &amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;Test Document&amp;lt;/h2&amp;gt;&amp;lt;p&amp;gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit.&amp;lt;/p&amp;gt;&amp;lt;/body&amp;gt;&lt;br /&gt;
      &amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;amp;title=Test Document&lt;br /&gt;
&amp;amp;sendername=John Doe&lt;br /&gt;
&amp;amp;senderemail=john@example.com&lt;br /&gt;
&amp;amp;lang=es&lt;br /&gt;
&amp;amp;signatureid1=signature1&lt;br /&gt;
&amp;amp;signername1=Anne Example&lt;br /&gt;
&amp;amp;signeremail1=anne@example.com&lt;br /&gt;
&amp;amp;signatureid2=signature2&lt;br /&gt;
&amp;amp;signername2=Bernie Beans&lt;br /&gt;
&amp;amp;signeremail2=bernie@example.com&lt;br /&gt;
&amp;amp;signature=602382cc08c8db6929d2aac76ee13fc1266294e1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
RESPONSE:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;code&amp;quot;:&amp;quot;b508e6e9-e5f6-4bb5-beef-c89bf6b50764&amp;quot;,&lt;br /&gt;
  &amp;quot;title&amp;quot;:&amp;quot;Test Document&amp;quot;,&lt;br /&gt;
  &amp;quot;senderName&amp;quot;:&amp;quot;John Doe&amp;quot;,&lt;br /&gt;
  &amp;quot;senderEmail&amp;quot;:&amp;quot;john@example.com&amp;quot;,&lt;br /&gt;
  &amp;quot;state&amp;quot;:&amp;quot;PENDING&amp;quot;,&lt;br /&gt;
  &amp;quot;entryDate&amp;quot;:&amp;quot;2019-07-29T09:18:46Z&amp;quot;,&lt;br /&gt;
  &amp;quot;signatures&amp;quot;:[&lt;br /&gt;
    { &lt;br /&gt;
      &amp;quot;signerName&amp;quot;:&amp;quot;Anne Example&amp;quot;,&lt;br /&gt;
      &amp;quot;signerEmail&amp;quot;:&amp;quot;anne@example.com&amp;quot;,&lt;br /&gt;
      &amp;quot;state&amp;quot;:&amp;quot;PENDING&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;signerName&amp;quot;:&amp;quot;Bernie Beans&amp;quot;,&lt;br /&gt;
      &amp;quot;signerEmail&amp;quot;:&amp;quot;bernie@example.com&amp;quot;,&lt;br /&gt;
      &amp;quot;state&amp;quot;:&amp;quot;PENDING&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>api&gt;Admin</name></author>
	</entry>
</feed>