Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions locales/en/services/infobip/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 80 additions & 0 deletions locales/en/services/infobip/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
title: "Infobip Notifications"
description: "Send SMS notifications through Infobip."
sidebar:
label: "Infobip"

source: https://www.infobip.com

schemas:
- infobip

has_sms: true

body_formats:
- text

sample_urls:
- infobip://{apikey}@{base_url}/{phone_no}
- infobip://{apikey}@{base_url}/{phone_no1}/{phone_no2}/{phone_noN}

limits:
max_chars: 160
---

<!-- SPONSORS:BANNER -->
<!-- SERVICE:DETAILS -->

## Account Setup

1. Sign up for an [Infobip account](https://www.infobip.com/signup).
2. Open the [API Keys](https://portal.infobip.com/dev/api-keys) page and create an API key with the `sms:message:send` scope. This is your `{apikey}`.
3. Find your personal **Base URL**. It is shown at the top of the [Infobip API documentation](https://www.infobip.com/docs/api) once you are signed in, and looks like `xxxxxx.api.infobip.com`.

You only need the first part of the Base URL (the `xxxxxx` part). Apprise adds `.api.infobip.com` for you. The full Base URL works too.

:::note
Free trial accounts can only send to phone numbers that were verified in your Infobip account.
:::

:::note
Attachments are not supported because SMS messages cannot carry files.
:::

## Syntax

Valid syntax is as follows:

- `infobip://{apikey}@{base_url}/{phone_no}`
- `infobip://{apikey}@{base_url}/{phone_no1}/{phone_no2}/{phone_noN}`
- `infobip://{apikey}@{base_url}/{phone_no}?from={sender}`

## Parameter Breakdown

| Variable | Required | Description |
| -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| apikey | Yes | Your Infobip API key. It needs the `sms:message:send` scope. |
| base_url | Yes | Your personal Infobip Base URL. Either the first part (`xxxxxx`) or the full `xxxxxx.api.infobip.com` can be given. |
| phone_no | Yes | The phone number to notify, including the country code. Add as many as you like, separated by a slash. |
| from | No | The sender the message comes from. This can be a phone number or a name your account is allowed to use. When it is not set, Infobip picks one for you. |

<!-- TEMPLATE:SERVICE-PARAMS -->

## Examples

Send an SMS to one phone number:

```bash
# Replace abcd1234 with your API key
# Replace xyz123 with the first part of your Base URL
# Replace 15551234567 with the phone number to notify
apprise -vv -b "Backup complete." \
infobip://abcd1234@xyz123/15551234567
```

Send an SMS to two phone numbers from a named sender:

```bash
apprise -vv -t "Alert" -b "Something happened." \
"infobip://abcd1234@xyz123/15551234567/15557654321?from=Alerts"
```
80 changes: 80 additions & 0 deletions locales/fr/services/infobip/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
title: "Notifications Infobip"
description: "Envoyez des notifications par SMS grâce à Infobip."
sidebar:
label: "Infobip"

source: https://www.infobip.com

schemas:
- infobip

has_sms: true

body_formats:
- text

sample_urls:
- infobip://{apikey}@{base_url}/{phone_no}
- infobip://{apikey}@{base_url}/{phone_no1}/{phone_no2}/{phone_noN}

limits:
max_chars: 160
---

<!-- SPONSORS:BANNER -->
<!-- SERVICE:DETAILS -->

## Configuration du compte

1. Créez un [compte Infobip](https://www.infobip.com/signup).
2. Ouvrez la page [API Keys](https://portal.infobip.com/dev/api-keys) et créez une clé d'API avec la portée `sms:message:send`. C'est votre `{apikey}`.
3. Trouvez votre **Base URL** personnelle. Elle s'affiche en haut de la [documentation de l'API Infobip](https://www.infobip.com/docs/api) une fois connecté, et ressemble à `xxxxxx.api.infobip.com`.

Seule la première partie de la Base URL (la partie `xxxxxx`) est nécessaire. Apprise ajoute `.api.infobip.com` pour vous. La Base URL complète fonctionne aussi.

:::note
Les comptes d'essai gratuits ne peuvent envoyer qu'aux numéros de téléphone vérifiés dans votre compte Infobip.
:::

:::note
Les pièces jointes ne sont pas prises en charge, car les SMS ne peuvent pas transporter de fichiers.
:::

## Syntaxe

La syntaxe valide est la suivante :

- `infobip://{apikey}@{base_url}/{phone_no}`
- `infobip://{apikey}@{base_url}/{phone_no1}/{phone_no2}/{phone_noN}`
- `infobip://{apikey}@{base_url}/{phone_no}?from={sender}`

## Détail des Paramètres

| Variable | Requis | Description |
| -------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| apikey | Oui | Votre clé d'API Infobip. Elle doit avoir la portée `sms:message:send`. |
| base_url | Oui | Votre Base URL Infobip personnelle. Vous pouvez indiquer la première partie (`xxxxxx`) ou la Base URL complète `xxxxxx.api.infobip.com`. |
| phone_no | Oui | Le numéro de téléphone à notifier, avec l'indicatif du pays. Ajoutez-en autant que vous le souhaitez, séparés par une barre oblique. |
| from | Non | L'expéditeur du message. Il peut s'agir d'un numéro de téléphone ou d'un nom que votre compte est autorisé à utiliser. S'il n'est pas défini, Infobip en choisit un pour vous. |

<!-- TEMPLATE:SERVICE-PARAMS -->

## Exemples

Envoyer un SMS à un numéro de téléphone :

```bash
# Remplacez abcd1234 par votre clé d'API
# Remplacez xyz123 par la première partie de votre Base URL
# Remplacez 15551234567 par le numéro de téléphone à notifier
apprise -vv -b "Sauvegarde terminée." \
infobip://abcd1234@xyz123/15551234567
```

Envoyer un SMS à deux numéros de téléphone avec un expéditeur nommé :

```bash
apprise -vv -t "Alerte" -b "Quelque chose s'est produit." \
"infobip://abcd1234@xyz123/15551234567/15557654321?from=Alertes"
```
Loading