# recruiting.applications.create

Add a candidate to a posting yourself (a referral or someone you sourced): postingId, candidate name, email, optional phone, location and links, source (referral, sourced, other), an optional note, and idempotencyKey. A person already in recruiting with that email is reused. Only administrators and the posting's hiring manager can do this.

`POST /api/v1/accounting/recruiting.applications.create`

Permissions: `accounting:read`, `accounting:write` · Roles: admin, finance, contributor · Idempotency key required

MCP tool: `accounting_recruiting_applications_create`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `postingId` | string (ID) | Yes | The ID of the related record. |
| `candidate` | object | Yes | No other fields. |
| `candidate.name` | string | Yes | A display name. 1–200 characters. |
| `candidate.email` | string (email) | Yes | An email address. at most 320 characters. |
| `candidate.phone` | string |  | at most 40 characters. |
| `candidate.location` | string |  | at most 200 characters. |
| `candidate.links` | array of strings |  | at most 5 items; each at most 500 characters. |
| `source` | enum |  | Where the record came from. One of: `referral`, `sourced`, `other`. Default `"sourced"`. |
| `note` | string |  | A short note, kept with the record. at most 5000 characters. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/recruiting.applications.create \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "postingId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10",
  "candidate": {
    "name": "Synthetic Ventures Inc.",
    "email": "finance@example.com"
  }
}'
```

Reference page: https://app.getoatmilk.com/docs/api/recruiting.applications.create
