---
title: "Get the available variables for payable email templates"
method: GET
path: "/payables/variables"
tags: ["Payables"]
---

# Get the available variables for payable email templates

`GET /payables/variables`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/payables/variables`
- Auth: HTTP bearer

Returns a list of placeholders that can be used to personalize email templates  related to payables. These include payables attributes such as `currency`,  `customer_name`, `document_id`, `due_date`,  `invoice_id`, `total_amount`, and `uploaded_username`.

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Response `200`

Successful Response

- PayableTemplatesVariablesObjectList
  - `data` PayableTemplatesVariablesObject[], required
    - `object_subtype` 'payables_purchase_order' | 'payables_notify_approver', required
    - `object_type` 'account' | 'approval' | 'approval_request' | 'approval_policy' | 'approval_policy_process' | 'audit_trail' | 'comment' | 'counterpart' | 'counterpart_address' | 'counterpart_bank_account' | 'counterpart_contact_person' | 'counterpart_partner_metadata' | 'counterpart_tax_id' | 'counterpart_vat_id' | 'delivery_note' | 'einvoicing' | 'entity' | 'entity_bank_account' | 'entity_settings' | 'entity_token' | 'entity_user' | 'entity_user_token' | 'entity_vat_ids' | 'export' | 'mailbox' | 'monitescript_process' | 'ocr_task' | 'onboarding' | 'overdue_reminder' | 'partner' | 'partner_internal_config' | 'partner_settings' | 'partner_token' | 'payable' | 'payable_line_item' | 'payables_credit_note' | 'payables_purchase_order' | 'payment' | 'payment_intent' | 'payment_link' | 'payment_record' | 'payment_reminder' | 'person' | 'product' | 'project' | 'receivable' | 'reconciliation' | 'recurrence' | 'receipt' | 'role' | 'tag' | 'todo_task' | 'todo_task_mute' | 'transaction' | 'webhook' | 'workflow' | 'workflow_pipeline', required
    - `variables` PayableTemplatesVariable[], required
      - `description` string, required
      - `name` string, required

## Other responses

- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `404`: Not found
- `422`: Validation Error
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

[API](https://skmtc.dev/monite/apis/monite-2.md) - [All operations](https://skmtc.dev/monite/apis/monite-2/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-2/revisions/4299ccf95edb?raw)
