---
updatedAt: 2025-06-17T23:07:21.000Z
agentTools:
  projectIndex: https://docs.pelcro.com/v2.4/llms.txt
---

# Milibris

## About

Are you using MiLibris? You want to couple your Pelcro products and customers with Milibris services. We've got you covered.

The Milibris integration allows you to add Milibris custom titles to your Pelcro products, as well as setting up a unique API endpoint to retrieve subscriptions, customers, and Milibris titles.

## How to add a Milibris title to your Pelcro products?

*Please note, In this tutorial, we assumed that you already know how to create a new product on Pelcro.*

***

### Click on the integrations icon on your dashboard left side menu.

![2976](https://files.readme.io/e3a3c02-Screen_Shot_2020-04-28_at_3.05.14_AM.png "Screen Shot 2020-04-28 at 3.05.14 AM.png")

***

### Select the Milibris integration.

![2966](https://files.readme.io/5730269-Screen_Shot_2020-04-28_at_3.07.30_AM.png "Screen Shot 2020-04-28 at 3.07.30 AM.png")

***

### Add the Milibris title to any of your products

In this view, you can update or remove your Milibris titles as shown below.

![2974](https://files.readme.io/172b55d-Screen_Shot_2020-04-28_at_3.14.47_AM.png "Screen Shot 2020-04-28 at 3.14.47 AM.png")

Let's assume you want to add a Milibris title to a product from the list. In this example, it's **product a**. Now go to the **product a** row and click on the **right-side options menu**  as shown in the picture above.

Select **change title** from the options menu, A new input filed will appear right under the selected product's name.

Fill the input field with the desired Mibris's title id and click **Add title id** to assign what you added to the selected product.

Feel free to add extra IDs by writing them as a comma separated IDs as shown in the image below.

![1934](https://files.readme.io/4013fdc-Screen_Shot_2022-04-08_at_2.05.48_PM.png "Screen Shot 2022-04-08 at 2.05.48 PM.png")

![2966](https://files.readme.io/e0a0140-Screen_Shot_2020-04-28_at_3.28.32_AM.png "Screen Shot 2020-04-28 at 3.28.32 AM.png")

Now you successfully assigned a new Milibris title id to one of your Pelcro products.

***

### How can I update or delete the Milibris title id from my products?

We kept everything so simple to be configured. You can open the same options menu next to any product to find two options:

* Change title id\
  This option allows you to add or to update the Milibris title id.

* Remove title id\
  Selecting this option will clear the pre-defined Milibris title id.

***

## How can I retrieve the Milibris titles I've just added?

We've created a unique API endpoint to serve this purpose.

***

### In Pelcro, Security comes first.

Pelco's greatest priority is to secure and protect your data. So before we provide you with direct access to data, We will ask you to generate a new API secret key.

* This key will be used to authenticate your applications before acquiring any data from your account.
* It's a unique key, please keep it in a very safe place.

***

### How can I generate a new API secret key?

Go to your dashboard and select **settings** from the top-right menu

![2970](https://files.readme.io/f936a0c-Screen_Shot_2020-04-28_at_4.26.19_AM.png "Screen Shot 2020-04-28 at 4.26.19 AM.png")

***

From the account settings, select **API keys**,

![2962](https://files.readme.io/84d289c-Screen_Shot_2020-04-28_at_4.27.00_AM.png "Screen Shot 2020-04-28 at 4.27.00 AM.png")

**Personal access tokens** , click on **create new token**

![1584](https://files.readme.io/1dd618b-Screen_Shot_2020-04-28_at_11.08.08_PM.png "Screen Shot 2020-04-28 at 11.08.08 PM.png")

***

Give your key a convenient name

![1288](https://files.readme.io/250b419-Screen_Shot_2020-04-28_at_4.27.41_AM.png "Screen Shot 2020-04-28 at 4.27.41 AM.png")

***

Please copy the string that appears and save it in a very safe place. Because you won't be able to see it again after closing the modal.

![1386](https://files.readme.io/5767ba7-Screen_Shot_2020-04-28_at_4.27.51_AM.png "Screen Shot 2020-04-28 at 4.27.51 AM.png")

***

## What is the API endpoint for this Milibris integration?

* On Production:\
  **[www.pelcro.com/v1/core/authenticate/milibris](http://www.pelcro.com/v1/core/authenticate/milibris)**

* On staging\
  **staging.pelcro.com/v1/core/authenticate/milibris**

***

## What are the required params for this Endpoint?

let's assume for a minute that you have a customer called Mr.John doe. And he is subscribed to **Product a** . Now we want to use the API endpoint to retrieve their subscriptions with the Milibris title included.

All required params will be:

* email (required, email)\
  the customer's email.

* password (required, string)\
  the customer's password.

* site\_id (required, integer)\
  your site id.

### Technical details

* Send a **POST** request to the endpoint declared above.
* Your request must include the API secret key as a Bearer Authorization.
* Your request must include the required params (email, password, site\_id).
* Your request headers must include (Accept application/json) & (Content-type application/json).

***

### Retrieving Mr john's subscriptions

* email: <johndoe@pelcro.com>
* password: \*\*\*\*
* site\_id: 1

![1856](https://files.readme.io/02d47b4-Screen_Shot_2020-04-28_at_5.08.52_AM.png "Screen Shot 2020-04-28 at 5.08.52 AM.png")

<Image title="Screen Shot 2020-04-28 at 5.06.56 AM.png" alt={1856} src="https://files.readme.io/fc2fa87-Screen_Shot_2020-04-28_at_5.06.56_AM.png">
  Bearer Authorization
</Image>

<Image title="Screen Shot 2020-04-28 at 5.07.04 AM.png" alt={1846} src="https://files.readme.io/143a0e9-Screen_Shot_2020-04-28_at_5.07.04_AM.png">
  Headers
</Image>

***

Please note the Milibris title that you added at the beginning of this tutorial

<Image title="Screen Shot 2020-04-28 at 5.07.15 AM.png" alt={880} src="https://files.readme.io/e1bb989-Screen_Shot_2020-04-28_at_5.07.15_AM.png">
  Please note the Milibris title that you added at the beginning of this tutorial
</Image>

The JSON response of the previous example

```json
{
  "status": 200,
  "info": {
    "client_id": 2,
    "email": "JohnDoe@pelcro.com",
    "subscriptions": [
      {
        "title": "abcd_efgh_ijkl_123", //Milibris title ID
        "start": "2020-04-28T02:30:07.000000Z",
        "end": "2021-04-28T02:30:07.000000Z"
      }
    ]
  }
}
```

***

# Sibling pages

* [Disqus](https://docs.pelcro.com/v2.4/docs/disqus.md)
* [Vimeo](https://docs.pelcro.com/v2.4/docs/vimeo.md)
* [Zinio](https://docs.pelcro.com/v2.4/docs/zinio.md)
* [Tecnavia](https://docs.pelcro.com/v2.4/docs/tecnavia.md)