Skip to main content

API BANNER COURSIER.FR V7 (EN)

13/05/2026 image-1662457811981.png Version 7.1


Objective

Retrieve any informational message or alert published on Coursier.fr interface.


Protocol

Requests are made via HTTPS with the url api.coursier.fr/v7/banner.php, the response is a JSON containing all active messages.

 

Authentication

The authentication happens using an API key associated with your coursier.fr user account. These credentials can be found in your customer area. You must have a monthly billing account, if it is not the case, please contact our sales team at commercial@coursier.fr.

The following parameters are required for authentification: API key, client_id, associated user email. (A single user may be linked to several customer accounts).

To test our APIs, you may use the following testing account to begin your developping tasks while waiting for your final credentials:

User : test@apicfr.fr

Pass : T3stCFR* (to test the front - not required for the API)

ClientId : 7055339

Apikey : e1ab1411d66765e73cf4b068d39cda8a


Parameters

Parameters must be send in a JSON array using the POST method.

NAME

REQUIRED

TYPE

DESCRIPTION

User

Y

Varchar(32)

User to access the coursier.fr interfaces


Apikey

Y

Varchar(32)

Apikey linked to your user


ClientId

Y

int

Customer account number



JSON Response

The response is a JSON array with all the active messages


API call example
<?php

$UrlTracking = "https://api.coursier.fr/v7/banner.php";

$DataTracking = array(
                   'User' => 'test@apicfr.fr',
                   'Apikey' => 'e1ab1411d66765e73cf4b068d39cda8a',
                   'ClientId' => '7055339',
);

$url = $UrlTracking;

$data = $DataTracking;

$datajson = json_encode($data);

$curl = curl_init();

curl_setopt($curl, CURLOPT_URL, $url);

curl_setopt($curl, CURLOPT_POST, 1);

curl_setopt($curl, CURLOPT_POSTFIELDS, $datajson);

curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));

curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);

$res = curl_exec($curl);

curl_close($curl);

var_dump($res);

?>


Response example

[{"tilte":"TRAFIC JEUX OLYMPIQUES","body":"Chers Clients, En raison des Jeux Olympiques des impacts sur nos déplacements sont à prévoir cet après-midi.\\n\\nNous vous invitons à prendre connaissance de la modification de nos délais : Seuls les délais en « Exclu » et \"Double Exclu\" sont disponibles.\\n\\nL’Équipe Coursier·fr vous remercie pour votre compréhension","date_start":"2026-06-26 12:00:00","date_end":"2026-06-26 18:00:00"},{"tilte":"Nouveauté!","body":"Lors de la saisie des adresses vous pouvez désormais ajouter des consignes pour le coursier en plus des infos d’accès, afin de faciliter la prise en charge et la livraison de vos envois.","date_start":"2026-06-26 12:00:00","date_end":"2026-07-31 18:00:00"}]