Skip to main content
POST
/
company
/
domains
/
{id}
/
finalize
Finalize domain setup
curl --request POST \
  --url https://api.firma.dev/functions/v1/signing-request-api/company/domains/{id}/finalize \
  --header 'Authorization: <api-key>'
{
  "message": "Domain finalized. Add the following DNS records to enable email sending.",
  "domain": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "domain": "acme.com",
    "verification_status": 2,
    "domain_status": 0
  },
  "dns_records": [
    {
      "type": "TXT",
      "name": "@",
      "value": "v=spf1 include:amazonses.com ~all",
      "ttl": "Auto",
      "status": "pending"
    },
    {
      "type": "CNAME",
      "name": "resend._domainkey",
      "value": "resend._domainkey.amazonses.com",
      "ttl": "Auto",
      "status": "pending"
    },
    {
      "type": "TXT",
      "name": "_dmarc",
      "value": "v=DMARC1; p=none;",
      "ttl": "Auto",
      "status": "pending"
    }
  ],
  "next_step": "Add these DNS records, then call POST /company/domains/{id}/verify-dns to complete verification"
}

Documentation Index

Fetch the complete documentation index at: https://docs.firma.dev/llms.txt

Use this file to discover all available pages before exploring further.

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

id
string<uuid>
required

Domain ID

Response

Domain finalized successfully. Add the returned DNS records.

message
string
domain
object

Email domain configuration for sending signing request emails

dns_records
object[]

DNS records to add for email sending

next_step
string