# Infobip People CDP

[Infobip](https://www.infobip.com) is a leading global communication platform.

## Infobip People CDP

Using [Infobip People](https://www.infobip.com/people) Customer Data Platform you can extend Orangepill Identities with Persons and Companies profiles.

Enable Infobip extension using Orangepill API or Dashboard and start synchronizing People profiles with your Orangepill project.

To start using Persons and Comapnies profiles you must first signup to Infobip.

### Infobip signup

Go to [https://www.infobip.com/signup](https://www.infobip.com/signup?signup_source=OrangePill) and create your Infobip account.

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

Once your signup process is complete you will have access to Infobip Portal.

<figure><img src="/files/6ltWKzl7TCZ5HK8Db3RF" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You will need API Key and API Base URL parameters to enable Infobip extension.
{% endhint %}

### Enable Infobip Extension

Customize API call with your Infobip credentials and configuration parameters.

<table><thead><tr><th width="258">Parameter</th><th>Description</th></tr></thead><tbody><tr><td>API_BASE_URL</td><td>Base URL for your Infobip account.</td></tr><tr><td>API_KEY</td><td>API KEY for your Infobip account.</td></tr><tr><td>SERVICE_SMS</td><td>Sender number for SMS channel.</td></tr><tr><td>SERVICE_WHATSAPP</td><td>Sender number for WhatsApp channel.</td></tr><tr><td>SERVICE_EMAIL</td><td>Sender email for Email channel.</td></tr></tbody></table>

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

```shell
curl --location --request POST 'https://api.orangepill.cloud/v1/extensions' \
--header 'x-api-key: AXVubzpwQDU1dzByYM==' \
--header 'Content-Type: application/json' \
--data-raw '{
    "extension": "INFOBIP",
    "authentication": {
        "API_BASE_URL": "373jj44mzl.infobip.com",
        "API_KEY": "kjk25de23hb3b3chg23aakjk2hb3b3"
    },
    "data": {
        "SERVICE_SMS": "447860099299",
        "SERVICE_WHATSAPP": "447860099299",
        "SERVICE_EMAIL": "info@orangepill.cloud"
    },
}'
```

{% endtab %}
{% endtabs %}

in response is new `Extension`.&#x20;

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

```json
{
    "id": "64cccf835991a2de3b390fac",
    "extension": "INFOBIP",
    "authentication": {
        "API_BASE_URL": "373j********",
        "API_KEY": "kjk2********"
    },
    "data": {
        "SERVICE_SMS": "447860088593",
        "SERVICE_WHATSAPP": "447860088593",
        "SERVICE_EMAIL": "info@orangepill.cloud"
    },
    "created_at": 1691144067296,
    "updated_at": 1691753575794,
    "active": true,
    "error": null
}
```

{% endtab %}
{% endtabs %}

Now you can start using [Persons](/orangepill-api/persons-and-companies.md), [Companies](/orangepill-api/persons-and-companies.md) and use [Messaging Channels](/orangepill-api/messaging-channels.md) to communicate with your customers.

## People Events

Use People module in Infobip Portal to list Person events and start conversation.

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

### Default Orangepill Events

To enable receiving event notifications for [Person](/orangepill-api/persons-and-companies.md) activities in Orangepill you must create custom event definitions in [Infobip Portal](https://portal.infobip.com/people/events/definitions).

<figure><img src="/files/08J6BxlM3Q0fAKgGplWi" alt=""><figcaption></figcaption></figure>

Use button New Event Definition in [Infobip portal](https://portal.infobip.com/people/events/definitions/new-event-definition) to create new event.

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

Create event definitions for which you want to receive notifications in Infobip people module.

<table><thead><tr><th width="239.33333333333331">Custom Event</th><th>Parameters</th></tr></thead><tbody><tr><td><code>DepositDone</code></td><td><code>id: text</code><br><code>deposit_address: text</code><br><code>source_address: text</code><br><code>asset: text</code><br><code>amount: number</code><br><code>data: text</code></td></tr><tr><td><code>AppsDepositDone</code></td><td><code>id: text</code><br><code>deposit_address: text</code><br><code>asset: text</code><br><code>data: text</code></td></tr><tr><td><code>AppsDepositFailed</code></td><td><code>id: text</code><br><code>deposit_address: text</code><br><code>asset: text</code><br><code>data: text</code><br><code>error: text</code></td></tr><tr><td><code>AppsPaymentDone</code></td><td><code>id: text</code><br><code>deposit_address: text</code><br><code>asset: text</code><br><code>amount: number</code><br><code>data: text</code></td></tr><tr><td><code>AppsPaymentFailed</code></td><td><code>id: text</code><br><code>deposit_address: text</code><br><code>asset: text</code><br><code>amount: number</code><br><code>data: text</code><br><code>error: text</code></td></tr><tr><td><code>WithdrawalDone</code></td><td><code>id: text</code><br><code>destination_address: text</code><br><code>asset: text</code><br><code>data: text</code></td></tr><tr><td><code>WithdrawalFailed</code></td><td><code>id: text</code><br><code>destination_address: text</code><br><code>asset: text</code><br><code>data: text</code></td></tr><tr><td><code>TransactionReceived</code></td><td><code>id: text</code><br><code>amount: number</code><br><code>asset: text</code><br><code>type: text</code><br><code>data: text</code></td></tr><tr><td><code>TransactionFailed</code></td><td><code>id: text</code><br><code>amount: number</code><br><code>asset: text</code><br><code>type: text</code><br><code>data: text</code><br><code>error: text</code></td></tr></tbody></table>


---

# 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.orangepill.cloud/extensions/infobip-people-cdp.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.
