ArgorantDocs

Preview a signature

posthttps://app.argorant.com/api/v1/signature/preview
POST
/api/v1/signature/preview

The signature to render.

text (default) or html.

Render it for this mailbox.

Renders a signature for one mailbox (email) or for sample values, without saving. text is what a reply carries, campaign_text what a campaign email carries when the signature is not set to replies only.

CostWhat it doesKey scopes
FreeReads onlyargorant:read_counts

Authorization

BearerAuth
AuthorizationBearer <token>

Your API key from app.argorant.com/profile, sent as Authorization: Bearer <key>. A connector sign-in token (ag_mcp_...) works the same way.

In: header

Header Parameters

Idempotency-Key?string

Any unique text up to 128 characters. A retry with the same key and the same body within 24 hours returns the first answer (with the header Idempotent-Replayed: true) instead of doing the work twice. The same key with another body answers 409 idempotency_conflict.

Lengthlength <= 128
X-Request-Id?string

Your own id for this request, 8 to 64 letters, digits, dot, dash or underscore. Returned as X-Request-Id; one is made for you when you send none.

Match^[A-Za-z0-9._-]{8,64}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

Shell
curl -X POST "https://app.argorant.com/api/v1/signature/preview" \  -H "Idempotency-Key: 6f1c2e7a-run-42" \  -H "Content-Type: application/json" \  -d '{    "template": "{{first_name}} {{last_name}}\\n[Book a call](https://meet.northgate-advisory.com/elena)",    "email": "elena@northgate-advisory.com"  }'
JSON
{  "text": "Elena Vaughn\n[Book a call](https://meet.northgate-advisory.com/elena)",  "campaign_text": "Elena Vaughn\nBook a call (meet.northgate-advisory.com/elena)"}