Products
What you sell — the context every draft is written from.
Base path /api/v1/products on https://moabcrm.com. Authenticate with Authorization: Bearer $DASH_API_KEY and name the project with the Project-ID header. Writes are validated in declared mode; an operation this resource does not declare answers 405 operation_not_supported.
List products
GET /api/v1/products
curl "https://moabcrm.com/api/v1/products" \
-H "Authorization: Bearer $DASH_API_KEY" \
-H "Project-ID: pr_zest"Show me the products filtered by domaindata_query {
"collection": "products"
}Returns a paginated list of product objects, newest first.
{
"object": "list",
"data": [
{
"object": "product",
"id": "obj_123",
"name": "name",
"status": "paused",
"product_prompt": "product prompt",
"exclude": [],
"product_url": "product url",
"domain": "example.com",
"competitors": "competitors",
"created_at": "2026-07-25T12:00:00.000Z",
"updated_at": "2026-07-25T12:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null
}Parameters
| Parameter | Type | Kind | Description |
|---|---|---|---|
domain | string | filter | The product's domain, used for logo resolution and research. |
q | string | search | Free-text search across name, domain. |
sort | string | sort | One of agent_count, last_performance_at; prefix with - to reverse. |
limit | number | page | Rows to return, 1–100. Defaults to 20. |
cursor | string | page | next_cursor from the previous page. |
Retrieve a product
GET /api/v1/products/draft-001
curl "https://moabcrm.com/api/v1/products/draft-001" \
-H "Authorization: Bearer $DASH_API_KEY" \
-H "Project-ID: pr_zest"Open the product {id}data_get {
"collection": "products",
"object_id": "draft-001"
}Returns the product object.
{
"object": "product",
"id": "obj_123",
"name": "name",
"status": "paused",
"product_prompt": "product prompt",
"exclude": [],
"product_url": "product url",
"domain": "example.com",
"competitors": "competitors",
"created_at": "2026-07-25T12:00:00.000Z",
"updated_at": "2026-07-25T12:00:00.000Z"
}Parameters
| Parameter | Type | Kind | Description |
|---|---|---|---|
id | string | path | The product's id or slug. |
Create a product
POST /api/v1/products
curl -X POST "https://moabcrm.com/api/v1/products" \
-H "Authorization: Bearer $DASH_API_KEY" \
-H "Project-ID: pr_zest" \
-H "Content-Type: application/json" \
-d '{"status":"paused"}'Create a new productdata_set {
"collection": "products",
"object_id": "draft-001",
"data": {
"status": "paused"
}
}Returns the product object.
{
"object": "product",
"id": "obj_123",
"name": "name",
"status": "paused",
"product_prompt": "product prompt",
"exclude": [],
"product_url": "product url",
"domain": "example.com",
"competitors": "competitors",
"created_at": "2026-07-25T12:00:00.000Z",
"updated_at": "2026-07-25T12:00:00.000Z"
}Parameters
| Field | Type | Required | Description |
|---|---|---|---|
name | string | no | Human name of the product being sold. |
status | string | no | Run-mode ladder for this product: paused, sandbox (sends confined to the sandbox audience), or live (delivers to real recipients). One of paused, sandbox, live. |
product_prompt | string | no | The product context drafting passes write from — what it is, who it is for, and the claims that are safe to make. |
exclude | array | no | Kinds of company this product NEVER sells to ("credit unions", "law firms"). The one lead gate besides relevance: the draft door refuses a lead whose company NAME names one (draft_company_excluded), and every lead source's query excludes them. One list per product — never per agent. |
product_url | string | no | Marketing homepage URL — the CTA link drafts default to. |
domain | string | no | The product's domain, used for logo resolution and research. |
competitors | text | no | Known competitors and how the product differs, in plain text for drafting context. |
Update a product
PATCH /api/v1/products/draft-001
curl -X PATCH "https://moabcrm.com/api/v1/products/draft-001" \
-H "Authorization: Bearer $DASH_API_KEY" \
-H "Project-ID: pr_zest" \
-H "Content-Type: application/json" \
-d '{"status":"paused"}'Update the product {id}data_set {
"collection": "products",
"object_id": "draft-001",
"data": {
"status": "paused"
}
}Returns the product object.
{
"object": "product",
"id": "obj_123",
"name": "name",
"status": "paused",
"product_prompt": "product prompt",
"exclude": [],
"product_url": "product url",
"domain": "example.com",
"competitors": "competitors",
"created_at": "2026-07-25T12:00:00.000Z",
"updated_at": "2026-07-25T12:00:00.000Z"
}Parameters
| Field | Type | Required | Description |
|---|---|---|---|
name | string | no | Human name of the product being sold. |
status | string | no | Run-mode ladder for this product: paused, sandbox (sends confined to the sandbox audience), or live (delivers to real recipients). One of paused, sandbox, live. |
product_prompt | string | no | The product context drafting passes write from — what it is, who it is for, and the claims that are safe to make. |
exclude | array | no | Kinds of company this product NEVER sells to ("credit unions", "law firms"). The one lead gate besides relevance: the draft door refuses a lead whose company NAME names one (draft_company_excluded), and every lead source's query excludes them. One list per product — never per agent. |
product_url | string | no | Marketing homepage URL — the CTA link drafts default to. |
domain | string | no | The product's domain, used for logo resolution and research. |
competitors | text | no | Known competitors and how the product differs, in plain text for drafting context. |
Append an event to a product
POST /api/v1/products/{id}/events
curl -X POST "https://moabcrm.com/api/v1/products/draft-001/events" \
-H "Authorization: Bearer $DASH_API_KEY" \
-H "Project-ID: pr_zest" \
-H "Content-Type: application/json" \
-d '{"event":"Noted by the operator","context":{"source":"api"}}'Add a note to the product {id}data_event {
"collection": "products",
"object_id": "draft-001",
"event": "Noted by the operator"
}Returns the appended event object.
{
"object": "event",
"id": "evt_123",
"event": "Noted by the operator"
}Parameters
| Field | Type | Required | Description |
|---|---|---|---|
event | string | yes | The human-readable timeline entry. |
context | object | no | Provenance — source, integration, worker_run_id, … |
What comes back (read-only)
Every product carries the envelope below. The fields under it are computed or stamped by the platform — they are returned, never sent.
| Field | Type | Description |
|---|---|---|
object | string | Always product. |
id | string | Stable object id. Also accepted in place of slug on any path. |
slug | string | URL-safe name, unique within the collection. |
created_at | string | ISO-8601 timestamp of the first write. |
updated_at | string | ISO-8601 timestamp of the most recent write. The cursor sorts on this. |
version | string | Free-form version marker for the product record itself. |
agent_count | number | How many campaign agents currently sell this product, stamped by the performance pass. |
performance_summary | text | ONE short sentence (<=160 chars) on how the product's campaigns are doing, written by the performance pass. Plain prose — no leading timestamp (last_performance_at carries the clock), no channel-capacity inventory. |
last_performance_at | date | When the performance pass last ran for this product — also the list's "Runs" cell. |
screenshots | text | Scraped screenshot references from the product site, kept for image seeding. |
changelog | text | Recent product changes worth mentioning in outreach. |
Errors
Failures use { error: { type, code, message, param } }. The full code table is generated at Error Codes.