ArgorantDocs

Move a campaign to a folder

posthttps://app.argorant.com/api/v1/campaigns/{campaign_id}/folder
POST
/api/v1/campaigns/{campaign_id}/folder

The folder id, or null for no folder.

Files the campaign into a folder. Send folder_id: null to take it out of its folder. Sending is not affected.

CostWhat it doesKey scopes
FreeWritesargorant:manage_lists

Authorization

BearerAuth
AuthorizationBearer <token>

Your API key from app.argorant.com/profile, sent as Authorization: Bearer <key>. A connector sign-in token (ag_mcp_...) works the same way.

In: header

Path Parameters

campaign_id*string

The campaign id from create or list.

Formatuuid

Header Parameters

Idempotency-Key?string

Any unique text up to 128 characters. A retry with the same key and the same body within 24 hours returns the first answer (with the header Idempotent-Replayed: true) instead of doing the work twice. The same key with another body answers 409 idempotency_conflict.

Lengthlength <= 128
X-Request-Id?string

Your own id for this request, 8 to 64 letters, digits, dot, dash or underscore. Returned as X-Request-Id; one is made for you when you send none.

Match^[A-Za-z0-9._-]{8,64}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

Shell
curl -X POST "https://app.argorant.com/api/v1/campaigns/7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c/folder" \  -H "Idempotency-Key: 6f1c2e7a-run-42" \  -H "Content-Type: application/json" \  -d '{    "folder_id": "9d8c7b6a-5e4f-4a3b-8c2d-1e0f9a8b7c6d"  }'
JSON
{  "campaign": {    "id": "7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c",    "name": "Q4 CFO outreach",    "status": "draft",    "lead_count": 0,    "queued_count": 0,    "sent_count": 0,    "replied_count": 0,    "positive_reply_count": 0,    "bounced_count": 0,    "step_count": 0,    "inbox_count": 0,    "daily_limit": 40,    "default_timezone": "Europe/Berlin",    "created_at": "2026-10-07T09:00:00+00:00",    "updated_at": "2026-10-07T09:00:00+00:00",    "url": "https://app.argorant.com/campaigns/7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c"  }}