curl --request POST \
--url https://api.craftkit.dev/v1/signatures \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"renderId": "3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071",
"name": "NDA for Acme",
"recipients": [
{
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"designation": "Signer"
}
],
"anchorTags": [
{
"anchorString": "{{sign_here}}",
"type": "signature",
"recipientIndex": 0
}
],
"expirationHours": 168
}
'import requests
url = "https://api.craftkit.dev/v1/signatures"
payload = {
"renderId": "3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071",
"name": "NDA for Acme",
"recipients": [
{
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"designation": "Signer"
}
],
"anchorTags": [
{
"anchorString": "{{sign_here}}",
"type": "signature",
"recipientIndex": 0
}
],
"expirationHours": 168
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
renderId: '3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071',
name: 'NDA for Acme',
recipients: [
{
firstName: 'Jane',
lastName: 'Doe',
email: 'jane@example.com',
designation: 'Signer'
}
],
anchorTags: [{anchorString: '{{sign_here}}', type: 'signature', recipientIndex: 0}],
expirationHours: 168
})
};
fetch('https://api.craftkit.dev/v1/signatures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.craftkit.dev/v1/signatures",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'renderId' => '3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071',
'name' => 'NDA for Acme',
'recipients' => [
[
'firstName' => 'Jane',
'lastName' => 'Doe',
'email' => 'jane@example.com',
'designation' => 'Signer'
]
],
'anchorTags' => [
[
'anchorString' => '{{sign_here}}',
'type' => 'signature',
'recipientIndex' => 0
]
],
'expirationHours' => 168
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.craftkit.dev/v1/signatures"
payload := strings.NewReader("{\n \"renderId\": \"3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071\",\n \"name\": \"NDA for Acme\",\n \"recipients\": [\n {\n \"firstName\": \"Jane\",\n \"lastName\": \"Doe\",\n \"email\": \"jane@example.com\",\n \"designation\": \"Signer\"\n }\n ],\n \"anchorTags\": [\n {\n \"anchorString\": \"{{sign_here}}\",\n \"type\": \"signature\",\n \"recipientIndex\": 0\n }\n ],\n \"expirationHours\": 168\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.craftkit.dev/v1/signatures")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"renderId\": \"3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071\",\n \"name\": \"NDA for Acme\",\n \"recipients\": [\n {\n \"firstName\": \"Jane\",\n \"lastName\": \"Doe\",\n \"email\": \"jane@example.com\",\n \"designation\": \"Signer\"\n }\n ],\n \"anchorTags\": [\n {\n \"anchorString\": \"{{sign_here}}\",\n \"type\": \"signature\",\n \"recipientIndex\": 0\n }\n ],\n \"expirationHours\": 168\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.craftkit.dev/v1/signatures")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"renderId\": \"3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071\",\n \"name\": \"NDA for Acme\",\n \"recipients\": [\n {\n \"firstName\": \"Jane\",\n \"lastName\": \"Doe\",\n \"email\": \"jane@example.com\",\n \"designation\": \"Signer\"\n }\n ],\n \"anchorTags\": [\n {\n \"anchorString\": \"{{sign_here}}\",\n \"type\": \"signature\",\n \"recipientIndex\": 0\n }\n ],\n \"expirationHours\": 168\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "sent",
"recipients": [
{
"id": "<string>",
"firstName": "<string>",
"email": "jsmith@example.com",
"designation": "Signer",
"lastName": "<string>",
"order": 123,
"signedAt": "2023-11-07T05:31:56Z",
"declinedAt": "2023-11-07T05:31:56Z"
}
],
"expirationHours": 123,
"signedDownloadUrl": "<string>",
"certificateUrl": "<string>",
"errorMessage": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}{
"id": "5e4d3c2b-1a0f-9e8d-7c6b-5a4938271605",
"renderId": "3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071",
"name": "NDA for Acme",
"status": "sent",
"recipients": [
{
"id": "temp_1",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"designation": "Signer",
"order": 1
}
],
"expirationHours": 168,
"signedDownloadUrl": null,
"certificateUrl": null,
"errorMessage": null,
"createdAt": "2026-06-21T10:00:00.000Z",
"completedAt": null
}{
"error": {
"code": "invalid_request",
"message": "Request body did not match expected shape."
}
}{
"error": {
"code": "unauthorized",
"message": "Missing Bearer token."
}
}{
"error": {
"code": "signature_credits_exhausted",
"message": "The signature service account is out of credits."
}
}{
"error": {
"code": "not_found",
"message": "Render not found."
}
}{
"error": {
"code": "conflict",
"message": "Render is not ready for signing (status: rendering)."
}
}{
"error": {
"code": "document_too_large",
"message": "Rendered PDF exceeds the 20MB signing limit."
}
}{
"error": {
"code": "signature_provider_error",
"message": "Signature service rejected the request: ..."
}
}{
"error": {
"code": "signatures_unavailable",
"message": "Digital signatures are not configured on this server."
}
}Send a render out for signature
Push a succeeded render’s PDF to the signature service as an atomic
create-and-send signing request. Provide field placements via explicit fields
(page + percentage coordinates) or anchorTags (text anchors). Pass an
Idempotency-Key header to make retries safe.
curl --request POST \
--url https://api.craftkit.dev/v1/signatures \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"renderId": "3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071",
"name": "NDA for Acme",
"recipients": [
{
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"designation": "Signer"
}
],
"anchorTags": [
{
"anchorString": "{{sign_here}}",
"type": "signature",
"recipientIndex": 0
}
],
"expirationHours": 168
}
'import requests
url = "https://api.craftkit.dev/v1/signatures"
payload = {
"renderId": "3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071",
"name": "NDA for Acme",
"recipients": [
{
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"designation": "Signer"
}
],
"anchorTags": [
{
"anchorString": "{{sign_here}}",
"type": "signature",
"recipientIndex": 0
}
],
"expirationHours": 168
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
renderId: '3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071',
name: 'NDA for Acme',
recipients: [
{
firstName: 'Jane',
lastName: 'Doe',
email: 'jane@example.com',
designation: 'Signer'
}
],
anchorTags: [{anchorString: '{{sign_here}}', type: 'signature', recipientIndex: 0}],
expirationHours: 168
})
};
fetch('https://api.craftkit.dev/v1/signatures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.craftkit.dev/v1/signatures",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'renderId' => '3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071',
'name' => 'NDA for Acme',
'recipients' => [
[
'firstName' => 'Jane',
'lastName' => 'Doe',
'email' => 'jane@example.com',
'designation' => 'Signer'
]
],
'anchorTags' => [
[
'anchorString' => '{{sign_here}}',
'type' => 'signature',
'recipientIndex' => 0
]
],
'expirationHours' => 168
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.craftkit.dev/v1/signatures"
payload := strings.NewReader("{\n \"renderId\": \"3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071\",\n \"name\": \"NDA for Acme\",\n \"recipients\": [\n {\n \"firstName\": \"Jane\",\n \"lastName\": \"Doe\",\n \"email\": \"jane@example.com\",\n \"designation\": \"Signer\"\n }\n ],\n \"anchorTags\": [\n {\n \"anchorString\": \"{{sign_here}}\",\n \"type\": \"signature\",\n \"recipientIndex\": 0\n }\n ],\n \"expirationHours\": 168\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.craftkit.dev/v1/signatures")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"renderId\": \"3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071\",\n \"name\": \"NDA for Acme\",\n \"recipients\": [\n {\n \"firstName\": \"Jane\",\n \"lastName\": \"Doe\",\n \"email\": \"jane@example.com\",\n \"designation\": \"Signer\"\n }\n ],\n \"anchorTags\": [\n {\n \"anchorString\": \"{{sign_here}}\",\n \"type\": \"signature\",\n \"recipientIndex\": 0\n }\n ],\n \"expirationHours\": 168\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.craftkit.dev/v1/signatures")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"renderId\": \"3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071\",\n \"name\": \"NDA for Acme\",\n \"recipients\": [\n {\n \"firstName\": \"Jane\",\n \"lastName\": \"Doe\",\n \"email\": \"jane@example.com\",\n \"designation\": \"Signer\"\n }\n ],\n \"anchorTags\": [\n {\n \"anchorString\": \"{{sign_here}}\",\n \"type\": \"signature\",\n \"recipientIndex\": 0\n }\n ],\n \"expirationHours\": 168\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"renderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "sent",
"recipients": [
{
"id": "<string>",
"firstName": "<string>",
"email": "jsmith@example.com",
"designation": "Signer",
"lastName": "<string>",
"order": 123,
"signedAt": "2023-11-07T05:31:56Z",
"declinedAt": "2023-11-07T05:31:56Z"
}
],
"expirationHours": 123,
"signedDownloadUrl": "<string>",
"certificateUrl": "<string>",
"errorMessage": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}{
"id": "5e4d3c2b-1a0f-9e8d-7c6b-5a4938271605",
"renderId": "3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071",
"name": "NDA for Acme",
"status": "sent",
"recipients": [
{
"id": "temp_1",
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"designation": "Signer",
"order": 1
}
],
"expirationHours": 168,
"signedDownloadUrl": null,
"certificateUrl": null,
"errorMessage": null,
"createdAt": "2026-06-21T10:00:00.000Z",
"completedAt": null
}{
"error": {
"code": "invalid_request",
"message": "Request body did not match expected shape."
}
}{
"error": {
"code": "unauthorized",
"message": "Missing Bearer token."
}
}{
"error": {
"code": "signature_credits_exhausted",
"message": "The signature service account is out of credits."
}
}{
"error": {
"code": "not_found",
"message": "Render not found."
}
}{
"error": {
"code": "conflict",
"message": "Render is not ready for signing (status: rendering)."
}
}{
"error": {
"code": "document_too_large",
"message": "Rendered PDF exceeds the 20MB signing limit."
}
}{
"error": {
"code": "signature_provider_error",
"message": "Signature service rejected the request: ..."
}
}{
"error": {
"code": "signatures_unavailable",
"message": "Digital signatures are not configured on this server."
}
}Authorizations
Project API key (ck_live_… or ck_test_…) presented as a bearer token.
For embed partner endpoints this is the partner secret key, which is the
same credential type.
Headers
Make retries safe — a repeated request with the same key returns the original resource.
Body
At least one field or anchorTag is required when any recipient is a Signer. recipientIndex values must be in range; supplied recipient order values must be a clean 1..N permutation.
1 - 20 elementsShow child attributes
Show child attributes
1 - 255200Show child attributes
Show child attributes
200Show child attributes
Show child attributes
1 <= x <= 8760Response
Idempotent replay of an existing signature request.
sent, viewed, completed, declined, expired, cancelled, failed Show child attributes
Show child attributes
Authenticated download URL; null until the signed PDF is archived.
Craftkit-owned authenticated URL (/v1/signatures/{id}/certificate)
for the completion certificate; null until it is available. Not a
provider URL.