---
title: "addBulkAgents portal_sales_agents"
method: POST
path: "/ops/sales-agents/bulk"
tags: ["ops"]
---

# addBulkAgents portal_sales_agents

`POST /ops/sales-agents/bulk`

Add a bulk of sales agents to the seller portal

## Request body

- AddBulkAgentsRequestBody
  - `new_agents` CommonPortalAgent[] — List con agents to add.
    - `email` string, email, required — E-mail
    - `external_agent_id` string — Id number used to identify the sales agent in the seller's internal system
    - `name` string, required — Name of the agent
    - `phone` string, required — Phone number
    - `seller_id` string, regexp — Seller ID
    - `seller_store_id` string — Id number used to identify the store a PoS agent is operating from

## Response `201`

Created response.

- PortalBulkSummary
  - `count_new_agents` integer, required — Number of new agents added
  - `failed_agents` string[] — List of agents that failed to be added

## Other responses

- `400` — BadRequest: Bad Request response.
- `401` — Unauthorized: Unauthorized response.
- `403` — InvalidScopes: Forbidden response.
- `404` — SellerNotFound: Not Found response.

---

[API](https://skmtc.net/topi/apis/topi-public-api.md) · [All operations](https://skmtc.net/topi/apis/topi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topi/topi-public-api/versions/fa134b7fc959/schema)
