Skip to main content
POST
/
templates
/
{template_id}
/
custom-fields
Create template custom field
curl --request POST \
  --url https://api.firma.dev/functions/v1/signing-request-api/templates/{template_id}/custom-fields \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "field_label": "<string>",
  "field_name": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "field_name": "<string>",
  "field_label": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.

Path Parameters

template_id
string<uuid>
required

Body

application/json
field_label
string
required
Maximum string length: 100
field_name
string
Maximum string length: 50

Response

Custom field created successfully

A custom field definition for a template

id
string<uuid>

Unique identifier

field_name
string

Machine-readable field name

field_label
string

Human-readable display label

created_at
string<date-time>
updated_at
string<date-time>