---
title: "Import the names saved on the phones of the linked WhatsApp numbers"
method: POST
path: "/api/v1/workspaces/{workspaceId}/contacts/import-whatsapp"
tags: ["Contacts"]
---

# Import the names saved on the phones of the linked WhatsApp numbers

`POST /api/v1/workspaces/{workspaceId}/contacts/import-whatsapp`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/workspaces/{workspaceId}/contacts/import-whatsapp`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` integer, required

## Response `200`

OK

- ImportBody
  - `errors` string[], nullable, required
  - `imported` integer, required
  - `skipped` integer, required
  - `updated` integer, required

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
