> For the complete documentation index, see [llms.txt](https://help.reekolect.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.reekolect.ai/api-references/contacts-and-chats-apis/add-whatsapp-contact.md).

# Add WhatsApp Contact

This page contains the API documentation for the adding new WhatsApp contacts.

### Introduction

The **Inbox User Import API** allows you to import WhatsApp contacts into the Reekolect platform. You can use this API to create or update WhatsApp contacts with various attributes and contact information.

#### Base URL

```bash
https://api.v7.express-chat.com/inbox/users/import
```

### Authentication

To use this API, you need to include the following authentication header:

* **Authorization**: Bearer Token
  * Example: `Bearer eyJhbGciO*****InR5cCI6IkpXVCJ9...`

### Request Headers

The following request headers are required:

* **Content-Type**: application/json

### Request Data

The request should include a JSON array of user profiles to be imported. Each user profile should have the following structure:

```json
jsonCopy code[
  {
    "profile": {
      "userDetails": {
        "userProvidedName": "User Name",
        "contact": {
          "email": "user@email.com",
          "phone": {
            "number": "1234567890",
            "prefix": "91"
          }
        },
        "tags": [],
        "attributes": []
      }
    }
  }
]
```

#### Example CURL Request

```bash
curl 'https://api.v7.express-chat.com/inbox/users/import' \
  -H 'Authorization: Bearer eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9...' \
  -H 'Content-Type: application/json' \
  -H 'Accept: */*' \
  -H 'Origin: https://app.reekolect.ai/' \
  -H 'Referer: https://app.reekolect.ai//' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-site' \
  -H 'User-Agent: Your User-Agent' \
  --data-raw '[{"profile":{"userDetails":{"userProvidedName":"User Name","contact":{"email":"user@email.com","phone":{"number":"1234567890","prefix":"91"}},"tags":[],"attributes":[]}}}]' \
  --compressed
```

### Response

The API will respond with a status code and a JSON response body. The response body will contain information about the import operation.

* **Status Codes**:
  * `200 OK`: The import operation was successful.

#### Example Response

```json
jsonCopy code{
  "status": "success",
  "message": "User profiles imported successfully."
}
```

### Conclusion

The Inbox User Import API allows you to easily import user profiles into the Reekolect platform. Make sure to follow the authentication and data format guidelines for successful imports.

### :question: Got any questions?

If you have any questions, you can look into our repository of FAQs, most likely, you will find your answer here, If not, write us at <production@Reekolect.co.za>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.reekolect.ai/api-references/contacts-and-chats-apis/add-whatsapp-contact.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
