Factuarea APIDevelopers

Retrieve a contact PDF template preference

Retrieve the template that your company prefers for one contact, document type (invoice, quote, proforma, delivery-note) and purpose.

  • A merged contact is resolved to its surviving contact.
  • When nothing is stored the response is virtual (version 1, template_id null) and nothing is written.
  • An unknown or foreign contact returns 404. Requires pdf_templates:read.
GET
/companies/{company}/pdf-templates/contact-defaults/{contact}/{document_type}/{purpose}

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid
contact*string

Public identifier (UUID v7) of the contact.

Formatuuid
document_type*string

Document type of the preference: invoice, quote, proforma or delivery-note.

purpose*string

Document purpose: complete, simplified, corrective or simplified_corrective.

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json