---
title: "Create a debt"
method: POST
path: "/debts"
tags: ["Debts"]
---

# Create a debt

`POST /debts`

## Request

- Base URL: `https://mobcrm.au/api/v1`
- URL: `https://mobcrm.au/api/v1/debts`
- Auth: HTTP bearer

## Request body

- Debt
  - `contact_id` string, required
  - `amount` number, required
  - `currency` string
  - `direction` 'i_owe_them' | 'they_owe_me', required
  - `reason` string
  - `incurred_at` string

## Response `201`

Created debt.

- object
  - `data` Debt, required
    - `contact_id` string, required
    - `amount` number, required
    - `currency` string
    - `direction` 'i_owe_them' | 'they_owe_me', required
    - `reason` string
    - `incurred_at` string

## Other responses

- `401`: Missing, malformed, or invalid bearer token.
- `403`: Token lacks the required scope or plan entitlement.
- `404`: The requested resource does not exist.
- `422`: Request body or query failed validation.
- `429`: Rate limit exceeded; see the Retry-After header.

---

[API](https://skmtc.dev/mobcrm/apis/mob-crm-public-api.md) · [All operations](https://skmtc.dev/mobcrm/apis/mob-crm-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mobcrm/apis/mob-crm-public-api/revisions/697e8afba2a5?raw)
