# Call Personalisation Batch v2

{% hint style="success" %}
Replace the `{{BaseURL}}` with the one mentioned [here ](/truecaller-for-business/verified-business-api-documentation/getting-started.md)
{% endhint %}

<mark style="color:green;">`POST`</mark> `{{BaseURL}}/v2/clients/{clientAccountId}/dynamic_call_records`

{% hint style="success" %}
{clientAccountId} : This can be taken directly from the self serve portal under the Manage API Keys Page&#x20;
{% endhint %}

{% hint style="danger" %}
This API can handle 60 requests per minute per token.
{% endhint %}

{% hint style="warning" %}
For Authorization Token kindly refer the[ Authentication](https://docs.truecaller.com/truecaller-for-business/verified-business-api-documentation/getting-started/authentication) section followed by [Generate Access Token](https://docs.truecaller.com/truecaller-for-business/verified-business-api-documentation/getting-started/generate-access-token) API
{% endhint %}

<figure><img src="/files/YQfofiBhcNJUZLmvTJXg" alt=""><figcaption></figcaption></figure>

**Headers**

| Name          | Value                                                            |
| ------------- | ---------------------------------------------------------------- |
| Content-Type  | <p><code>Required</code></p><p><code>application/json</code></p> |
| Authorization | <p><code>Required</code></p><p><code>Bearer \<token></code></p>  |

**Body**

| Name                        | Type            | Validations                            | Description                                                                                                                                                                                           |
| --------------------------- | --------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p></p><p>call\_records</p> | array of object | <p>min:1<br>max: 500</p>               | <p>Required<br>Call record object<br><mark style="color:$primary;">Maximum batch size is 500 per API Call</mark></p>                                                                                  |
| dynamic\_call\_reason       | string          | <p>minLength: 10<br>maxLength: 100</p> | <p>Optional</p><p>The call reason to be displayed.</p>                                                                                                                                                |
| caller\_number              | string          | NA                                     | <p>Required<br>The phone no. of the caller</p>                                                                                                                                                        |
| ends\_at                    | integer (int64) | Epoch timestamp in milliseconds        | <p>Required<br>The timestamp in milliseconds at which dynamic caller ID should expire.<br>Should not be before the current timestamp.<br>starts\_at and ends\_at cannot be more than 24 hrs apart</p> |
| label\_id                   | string          | NA                                     | <p>Optional<br>The label ID of the dynamic label to be used as caller id</p>                                                                                                                          |
| dynamic\_label\_name        | string          | <p>minLength: 3<br>maxLength: 40</p>   | <p>Required<br>The caller ID name to be displayed. If not present it will default to the label name of the label ID provided.</p>                                                                     |
| receiver\_number            | string          | NA                                     | <p>Required<br>The phone no. of the receiver</p>                                                                                                                                                      |
| starts\_at                  | integer (int64) | Epoch timestamp in milliseconds        | <p>Required<br>The timestamp in milliseconds at which dynamic caller ID should start reflecting.</p><p>starts\_at and ends\_at cannot be more than 24 hrs apart</p>                                   |

#### Request

{% tabs %}
{% tab title="JSON" %}

```json
{
  "call_records":[
        {
          "label_id": "c6d86658-008d-4c08-98fb-2bf2649d59a5",
          "dynamic_label_name": "Centro Bank KYC Department",
          "dynamic_call_reason":  "Calling you for KYC Verification",
          "caller_number": "+91**********",
          "receiver_number": "91**********",
          "starts_at": 1753246858000,
          "ends_at": 1753362058000
        }
      ]
}
```

{% endtab %}
{% endtabs %}

**Response**

{% tabs %}
{% tab title="200 OK" %}

```json
{
    "batch_id": "b72f7a40-ec3a-462f-b528-da0e8dc87e79"
}
```

{% endtab %}

{% tab title="401 Unauthorized" %}

```json
{
    "slug": "authorization-error",
    "message": "please login again"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.truecaller.com/truecaller-for-business/verified-business-api-documentation/call-personalisation/call-personalisation-batch-v2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
