Developers
Ask
Sign inSign in

List campaigns

How do I see my campaigns and the orders inside one?

1 min readUpdated 15 November 2026
Short answer

dorna_campaigns lists your campaigns, newest first. Give it a campaignId to read one campaign with all its orders.

  • dorna_campaigns
  • Read only
Contents
  1. Parameters
  2. What it returns
  3. Example
  4. Access and confirmation

Parameters

FieldTypeDescription
campaignIdstring (ID)Returns this one campaign in full, with its orders.
projectIdstring (ID)Only campaigns of this project.
statusstringOnly campaigns in this state: AWAITING_PAYMENT, IN_PROGRESS or DONE.
limitinteger, 1 to 50How many rows to return, newest first.

What it returns

Without campaignId: name, number, creation date, whether it is paid, the final amount and the counts of orders and published orders. With campaignId: the campaign's brief, its amounts and every order with outlet, status and published link. Amounts are in rials (10 rials = 1 toman).

Example

Ask your assistant: Which campaigns are still waiting for payment?

The assistant then calls the tool like this:

{
  "name": "dorna_campaigns",
  "arguments": {
    "campaignId": "64f1a2b3c4d5e6f7a8b9c0d1",
    "projectId": "64f1a2b3c4d5e6f7a8b9c0d1"
  }
}

A typical result looks like this (the values are examples):

{
  "total": 3,
  "campaigns": [
    {
      "id": "64f1a2b3c4d5e6f7a8b9c0d1",
      "name": "Tech Daily",
      "number": 1042,
      "projectId": "64f1a2b3c4d5e6f7a8b9c0d1",
      "createdAt": "2026-11-01T09:30:00.000Z",
      "paid": true,
      "totalRials": 11880000,
      "orders": 4,
      "published": 2
    }
  ]
}

Access and confirmation

Read only: this tool never changes anything in your account.

Related tools: dorna_create_campaign dorna_orders dorna_pay_campaign

Still have a question?

Open this guide in your own AI assistant and ask it.

ChatGPTClaudeGemini