---
title: "Preview Csv Campaigns"
method: POST
path: "/api/v1/accounts/{account_id}/campaigns/preview_csv"
tags: ["Campaigns"]
---

# Preview Csv Campaigns

`POST /api/v1/accounts/{account_id}/campaigns/preview_csv`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/accounts/{account_id}/campaigns/preview_csv`
- Auth: API key in header `api_access_token`

## Path parameters

- `account_id` integer, required

## Request body

- object
  - `title` string, required
  - `description` string
  - `message` string, required
  - `enabled` boolean
  - `trigger_only_during_business_hours` boolean
  - `inbox_id` integer, required
  - `sender_id` integer
  - `scheduled_at` string, date-time
  - `minutes_to_auto_resolve` integer
  - `conversation_label_id` integer
  - `team_id` integer
  - `trigger_rules` object

## Response `200`

Success

- object
  - `error` string

## Other responses

- `401`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/cloudhumans/apis/cloudchat-api.md) - [All operations](https://skmtc.dev/cloudhumans/apis/cloudchat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudhumans/apis/cloudchat-api/revisions/18199bd17cc5?raw)
