Infobip

Infobip is a global leader in omnichannel engagement powering a broad range of messaging channels, tools, and solutions for advanced customer engagement, authentication, and security.

This integration lets you send targeted messages using the specific cohorts you've created in Amplitude.

Setup

Infobip setup

  1. Navigate to the Infobip Portal, click Project Settings, and select API Keys.
  2. Generate a new key and add a description. Copy the key.

Amplitude setup

  1. In Amplitude Data, click Catalog and select the Destinations tab.
  2. In the Cohort section, click Infobip.
  3. Enter a name and Infobip API Key.
  4. Save the destination.

Statuses

Create a new list

URL: https://api.infobip.com/saas/amplitude/1/lists

Status codes

1{
2 "listId": 2568
3}

1{
2 "requestError": {
3 "serviceException": {
4 "messageId": "BAD_REQUEST",
5 "text": "Bad request",
6 "validationErrors": {
7 "name": [
8 "property not found or blank"
9 ]
10 }
11 }
12 }
13}

1{
2 "requestError": {
3 "serviceException": {
4 "messageId": "UNAUTHORIZED",
5 "text": "Invalid login details"
6 }
7 }
8}

One request per API key every 2 seconds

1{
2 "requestError":{
3 "serviceException":{
4 "messageId":
5 "TOO_MANY_REQUESTS",
6 "text":"Too many requests"
7 }
8 }
9}

Add people to list

URL: https://api.infobip.com/saas/amplitude/1/lists/%257BlistId%257D/add

  • If no errors, just the modified/created counters will show the number of ids.
  • If one or more ids were unable to be added to a list, the errors section will be populated with the total counter and arrays of grouped ids by type of error
1{
2 "modifiedCount": 0,
3 "createdCount": 3,
4 "errors": {
5 "count": 1,
6 "failed": {
7 "VALIDATION_ERROR": ["invalid_mail.com"]
8 }
9 }
10}

1{
2 "statusCode": "TAG_NOT_FOUND",
3 "message": "Tag with id \"87881\" does not exist"
4}

1{
2 "requestError": {
3 "serviceException": {
4 "messageId": "UNAUTHORIZED",
5 "text": "Invalid login details"
6 }
7 }
8}

1{
2 "requestError": {
3 "serviceException": {
4 "messageId": "TOO_MANY_REQUESTS",
5 "text": "Too many requests"
6 }
7 }
8}

Remove people from list

URL: https://api.infobip.com/saas/amplitude/1/lists/%257BlistId%257D/remove

1{}

1{
2 "statusCode": "TAG_NOT_FOUND",
3 "message": "Tag with id \"87881\" does not exist"
4}

1{
2 "requestError": {
3 "serviceException": {
4 "messageId": "UNAUTHORIZED",
5 "text": "Invalid login details"
6 }
7 }
8}

One request per Api key every 5 seconds.

1{
2 "requestError": {
3 "serviceException": {
4 "messageId": "TOO_MANY_REQUESTS",
5 "text": "Too many requests"
6 }
7 }
8}

Was this page helpful?

Thanks for your feedback!

April 18th, 2024

Need help? Contact Support

Visit Amplitude.com

Have a look at the Amplitude Blog

Learn more at Amplitude Academy

© 2024 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.