---
updatedAt: 2025-06-11T21:43:03.000Z
agentTools:
  projectIndex: https://developers.fireberry.com/llms.txt
---

# Batch Create Campaign Records

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fireberry-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.fireberry.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "tokenid"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v3/record/campaign/batch/create": {
      "post": {
        "summary": "Batch Create Campaign Records",
        "description": "",
        "operationId": "batch-create-campaign-records",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "data": {
                    "type": "array",
                    "items": {
                      "properties": {
                        "campaignname": {
                          "type": "string",
                          "description": "Name (Primary)"
                        },
                        "budget1": {
                          "type": "number",
                          "description": "Budget",
                          "format": "float"
                        },
                        "cost": {
                          "type": "number",
                          "description": "Cost",
                          "format": "float"
                        },
                        "description": {
                          "type": "string",
                          "description": "Description of up to 4,000 characters."
                        },
                        "enddate": {
                          "type": "string",
                          "description": "Date the campaign ends, use UTC format.",
                          "format": "date"
                        },
                        "media1code": {
                          "type": "integer",
                          "description": "Type of media used (Picklist).",
                          "format": "int32"
                        },
                        "ownerid": {
                          "type": "string",
                          "description": "The GUID of the system user who created the record, can also be set manually. Will be used for permissions."
                        },
                        "startdate": {
                          "type": "string",
                          "description": "Date the campaign starts, use UTC format.",
                          "format": "date"
                        },
                        "statuscode": {
                          "type": "integer",
                          "description": "Status (Picklist)",
                          "format": "int32"
                        },
                        "typecode": {
                          "type": "integer",
                          "description": "Type (Picklist)",
                          "format": "int32"
                        }
                      },
                      "required": [
                        "campaignname"
                      ],
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"success\": true,\n    \"data\": {\n        \"Record\": {Data about the created business unit including all its fields and values}},\n    \"message\": \"\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"Message\": \"'FIELD NAME' must be a valid DateTime\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "Could not create record. Check your data"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "'FIELD NAME' must be a valid DateTime"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```