---
title: "Import contacts"
method: POST
path: "/audiences/{id}/contacts"
tags: ["Audiences"]
---

# Import contacts

`POST /audiences/{id}/contacts`

## Request

- Base URL: `https://rcs-templates-api-dot-msg2ai-server.ue.r.appspot.com/api/agent`
- URL: `https://rcs-templates-api-dot-msg2ai-server.ue.r.appspot.com/api/agent/audiences/{id}/contacts`
- Auth: HTTP bearer

Bulk-add E.164 contacts to an audience — the step that turns a spreadsheet into a sendable list.

## Path parameters

- `id` string, required

## Request body

- object
  - `contacts` object[], required
    - `firstName` string
    - `lastName` string
    - `number` string
    - `email` string
    - `attributes` object

## Response `200`

Success.

- object

## Other responses

- `400`: Arguments failed validation.
- `401`: Missing or invalid agent key.
- `403`: Key does not hold the audiences:write scope.
- `429`: Rate limited.

---

[API](https://skmtc.dev/rcs-campaigns/apis/rcs-campaigns-agent-gateway.md) · [All operations](https://skmtc.dev/rcs-campaigns/apis/rcs-campaigns-agent-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/rcs-campaigns/apis/rcs-campaigns-agent-gateway/revisions/acdbf292d9d6?raw)
