---
title: "Add multiple contacts to a list"
method: POST
path: "/add-contacts/"
tags: ["Contacts"]
---

# Add multiple contacts to a list

`POST /add-contacts/`

## Request

- Base URL: `http://api.smsfusion.com.au`
- URL: `http://api.smsfusion.com.au/add-contacts/`
- Auth: one of:
  - API key in query parameter `key`
  - HTTP basic

Batch insert. Validation is all-or-nothing: if any row fails, nothing is written. On an empty list, the first row establishes the list's locked field shape

## Query parameters

- `key` string, required
- `listid` integer, required
- `cc` string, string

## Request body

- object[]

## Response `200`

Contacts added

- object
  - `success` boolean
  - `listId` integer
  - `ids` integer[]
  - `count` integer

## Other responses

- `401`: FIELD_EMPTY or VALIDATION_FAILED - row failures carry both error (first message) and errors (all messages)
- `404`: List not found or not owned
- `405`: Method not allowed - POST only

---

[API](https://skmtc.dev/smsfusion/apis/sms-fusion-api.md) · [All operations](https://skmtc.dev/smsfusion/apis/sms-fusion-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smsfusion/apis/sms-fusion-api/revisions/a88b2793a6e9?raw)
