RaabtaHQ
Add a note to an inquiry

Add a note to an inquiry

POST/api/v1/inquiries/{id}/notes

scope inquiries:writeIdempotent

Adds an internal note to the inquiry’s timeline, attributed to the key’s acting user. Notes stay inside the account — there is no webhook event for them.

Path parameters

NameTypeDescription
idrequired
string (uuid)Inquiry id

Body

application/json
NameTypeDescription
textrequired
stringNote body
Request
curl -X POST "https://your-crm.example.com/api/v1/inquiries/a3f1c2d4-5e6b-4f78-9a0b-1c2d3e4f5a6b/notes" \
  -H "Authorization: Bearer $RAABTA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6f1c2a9e-3b4d-4c5e-8f7a-9b0c1d2e3f4a" \
  -d '{
    "text": "Called back — wants a site visit on Thursday."
  }'
Response · 201 Created
{
  "data": {
    "id": "b1c2d3e4-f5a6-4b7c-8d9e-0f1a2b3c4d5e",
    "inquiry_id": "a3f1c2d4-5e6b-4f78-9a0b-1c2d3e4f5a6b",
    "text": "Called back — wants a site visit on Thursday.",
    "author_user_id": "2f3e4d5c-6b7a-4c8d-9e0f-1a2b3c4d5e6f",
    "created_at": "2026-09-02T11:20:00.000Z"
  }
}

Response

Wrapped in { data: … }
NameTypeDescription
idrequired
string (uuid)UUID
inquiry_idrequired
string (uuid)UUID
textrequired
stringThe note body
author_user_idrequired
string | nullThe member (or the key’s acting user) who wrote it
created_atrequired
string (date-time)ISO 8601 timestamp

Errors

StatusCodeWhen
400bad_requestThe request could not be parsed: malformed JSON, an invalid cursor, or a query parameter of the wrong shape.
400validation_errorThe body or query failed validation. `details` lists each failing field with a `path` and a `message`.
401unauthorizedNo usable API key: the Authorization header is missing or malformed, or the key is unknown, revoked or expired. The three are deliberately indistinguishable.
403forbiddenThe key is valid but lacks the scope this endpoint requires, or the request came from an address outside the key’s IP allowlist. The message says which.
403account_suspendedThe account this key belongs to is suspended. Rotating the key will not help; contact support.
404not_foundNo such resource in this account. A resource that exists in another account also returns this.
409conflictThe request conflicts with current state: a duplicate phone number on create, an invalid state transition, or an idempotent request that is still in flight.
422unprocessableThe request was well-formed but cannot be carried out. `reason` is a stable string saying why (for example `outside_window` or `stage_not_in_pipeline`).
429rate_limitedThe per-key budget, or the per-IP budget for failed authentication, is exhausted. Honour `Retry-After` before retrying.
500internalSomething failed on our side. Safe to retry with the same Idempotency-Key; quote `request_id` if it persists.