Pages de liens
Pages « lien en bio », leurs liens et leurs chiffres.
Valeurs des exemples
Saisissez-les une fois : tous les exemples de cette page les utilisent. La clé d’API reste sur cette page et n’est jamais enregistrée.
GET/v1/link-pages
Liste les pages de liens.
ListerEn cas de succès : 200.Permission : Lire.
Réponse
25 champs
| Champ | Type | Toujours présent |
|---|---|---|
[].active | boolean | Oui |
[].bio | string | Oui |
[].clicks30 | integer | Oui |
[].createdAt | string (date-time) | Oui |
[].createdBy | string (uuid) | Oui |
[].id | string (uuid) | Oui |
[].links | array of object | Oui |
[].links[].active | boolean | Oui |
[].links[].featured | boolean | Oui |
[].links[].icon | null dans les exemples | Oui |
[].links[].id | string | Oui |
[].links[].kind | string | Oui |
[].links[].style | null dans les exemples | Oui |
[].links[].title | string | Oui |
[].links[].url | string | null | Oui |
[].name | string | Oui |
[].showBranding | boolean | Oui |
[].slug | string | Oui |
[].templateId | null dans les exemples | Oui |
[].theme | object | Oui |
[].title | string | Oui |
[].updatedAt | string (date-time) | Oui |
[].updatedBy | string (uuid) | Oui |
[].url | string (uri) | Oui |
[].views30 | integer | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/link-pages" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/link-pages", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/link-pages",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/link-pages");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/link-pages")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/link-pages", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/link-pages"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/link-pages");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
[
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"slug": "…",
"name": "Ana Lima",
"title": "…",
"bio": "…",
"links": [
{}
],
"showBranding": true,
"templateId": null,
"theme": {},
"active": true,
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"createdAt": "2026-11-21T14:00:00.000Z",
"updatedAt": "2026-11-21T14:00:00.000Z",
"url": "https://example.com",
"views30": 1,
"clicks30": 1
}
]POST/v1/link-pages
Crée une page de liens.
CréerEn cas de succès : 201.Permission : Créer.
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
name | string | Oui | min length 1 · max length 120 |
slug | string | Non | pattern ^[a-z0-9](?:[a-z0-9-]{1,38}[a-z0-9])$ |
title | string | Oui | min length 1 · max length 120 |
bio | string | null | Non | |
links | array of object | Non | max items 100 |
links[].id | string | Oui | pattern ^[A-Za-z0-9_-]{6,40}$ |
links[].kind | "link" | "header" | Non | default "link" |
links[].title | string | Oui | min length 1 · max length 100 |
links[].url | string | null | Non | |
links[].icon | "link" | "globe" | "instagram" | "whatsapp" | "tiktok" | "youtube" | "linkedin" | "facebook" | "x" | "telegram" | "spotify" | "email" | "phone" | "calendar" | "form" | "file" | "shop" | "star" | "map" | "gift" | null | Non | |
links[].featured | boolean | Non | default false |
links[].active | boolean | Non | default true |
links[].style | object | null | Non | |
links[].style.background | string | null | Non | |
links[].style.text | string | null | Non | |
links[].style.border | "none" | "thin" | "thick" | Non | default "none" |
links[].style.borderColor | string | null | Non | |
links[].style.shadow | "none" | "soft" | "hard" | Non | default "none" |
links[].style.shadowColor | string | null | Non | |
links[].style.radius | "theme" | "square" | "rounded" | "pill" | Non | default "theme" |
links[].style.hover | "simple" | "lift" | "grow" | "outline" | "none" | Non | default "simple" |
showBranding | boolean | Non | default true |
templateId | "classic" | "modern" | "minimal" | "bold" | null | Non | |
theme | object | Non | |
theme.primaryColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.accentColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.backgroundColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.textColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.headingFont | string | Non | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.bodyFont | string | Non | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.coverImageUrl | string (uri) | Non | max length 2000 |
theme.cornerRadius | "none" | "small" | "medium" | "large" | Non | |
active | boolean | Non | default true |
Réponse
25 champs
| Champ | Type | Toujours présent |
|---|---|---|
active | boolean | Oui |
bio | string | null | Oui |
clicks30 | integer | Oui |
createdAt | string (date-time) | Oui |
createdBy | string (uuid) | Oui |
id | string (uuid) | Oui |
links | array of object | Oui |
links[].active | boolean | Oui |
links[].featured | boolean | Oui |
links[].icon | string | null | Oui |
links[].id | string | Oui |
links[].kind | string | Oui |
links[].style | object | null | Oui |
links[].title | string | Oui |
links[].url | string | null | Oui |
name | string | Oui |
showBranding | boolean | Oui |
slug | string | Oui |
templateId | null dans les exemples | Oui |
theme | object | Oui |
title | string | Oui |
updatedAt | string (date-time) | Oui |
updatedBy | string (uuid) | Oui |
url | string (uri) | Oui |
views30 | integer | Oui |
Exemple
curl -X POST "https://api.firmado.app/v1/link-pages" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"title": "…",
"slug": "…",
"bio": "…"
}'const res = await fetch("https://api.firmado.app/v1/link-pages", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"title": "…",
"slug": "…",
"bio": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/link-pages",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"title": "…",
"slug": "…",
"bio": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/link-pages");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"name": "Ana Lima",
"title": "…",
"slug": "…",
"bio": "…"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/link-pages")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"title": "…",
"slug": "…",
"bio": "…"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"name": "Ana Lima",
"title": "…",
"slug": "…",
"bio": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/link-pages", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/link-pages"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"title": "…",
"slug": "…",
"bio": "…"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/link-pages");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"title": "…",
"slug": "…",
"bio": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (201), avec des valeurs d’exemple :
{
"active": true,
"bio": "…",
"clicks30": 1,
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"links": [
{
"id": "…",
"url": "https://example.com",
"icon": "…",
"kind": "…",
"style": {},
"title": "…",
"active": true,
"featured": true
}
],
"name": "Ana Lima",
"showBranding": true,
"slug": "…",
"templateId": null,
"theme": {},
"title": "…",
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"url": "https://example.com",
"views30": 1
}DELETE/v1/link-pages/{id}
Supprime une page de liens.
SupprimerEn cas de succès : 204.Permission : Supprimer.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Exemple
curl -X DELETE "https://api.firmado.app/v1/link-pages/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/link-pages/{id}", {
method: "DELETE",
headers: { "X-Api-Key": "fmd_..." },
})
if (!res.ok) throw new Error(await res.text())import requests
res = requests.delete(
"https://api.firmado.app/v1/link-pages/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/link-pages/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/link-pages/{id}")
req = Net::HTTP::Delete.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }req, _ := http.NewRequest("DELETE", "https://api.firmado.app/v1/link-pages/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/link-pages/{id}"))
.header("X-Api-Key", "fmd_...")
.method("DELETE", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("DELETE"), "https://api.firmado.app/v1/link-pages/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/link-pages/{id}
Renvoie une page de liens avec ses liens et son apparence.
Voir unEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/link-pages/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/link-pages/{id}", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/link-pages/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/link-pages/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/link-pages/{id}")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/link-pages/{id}", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/link-pages/{id}"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/link-pages/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PATCH/v1/link-pages/{id}
Modifie une page de liens : liens, textes, apparence et adresse.
ModifierEn cas de succès : 200.Permission : Modifier.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Corps
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
name | string | Non | min length 1 · max length 120 |
slug | string | Non | pattern ^[a-z0-9](?:[a-z0-9-]{1,38}[a-z0-9])$ |
title | string | Non | min length 1 · max length 120 |
bio | string | null | Non | |
links | array of object | Non | max items 100 |
links[].id | string | Oui | pattern ^[A-Za-z0-9_-]{6,40}$ |
links[].kind | "link" | "header" | Non | default "link" |
links[].title | string | Oui | min length 1 · max length 100 |
links[].url | string | null | Non | |
links[].icon | "link" | "globe" | "instagram" | "whatsapp" | "tiktok" | "youtube" | "linkedin" | "facebook" | "x" | "telegram" | "spotify" | "email" | "phone" | "calendar" | "form" | "file" | "shop" | "star" | "map" | "gift" | null | Non | |
links[].featured | boolean | Non | default false |
links[].active | boolean | Non | default true |
links[].style | object | null | Non | |
links[].style.background | string | null | Non | |
links[].style.text | string | null | Non | |
links[].style.border | "none" | "thin" | "thick" | Non | default "none" |
links[].style.borderColor | string | null | Non | |
links[].style.shadow | "none" | "soft" | "hard" | Non | default "none" |
links[].style.shadowColor | string | null | Non | |
links[].style.radius | "theme" | "square" | "rounded" | "pill" | Non | default "theme" |
links[].style.hover | "simple" | "lift" | "grow" | "outline" | "none" | Non | default "simple" |
showBranding | boolean | Non | |
templateId | "classic" | "modern" | "minimal" | "bold" | null | Non | |
theme | object | Non | |
theme.primaryColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.accentColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.backgroundColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.textColor | string | Non | pattern ^#[0-9a-fA-F]{6}$ |
theme.headingFont | string | Non | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.bodyFont | string | Non | pattern ^[A-Za-z0-9 ]{1,60}$ |
theme.coverImageUrl | string (uri) | Non | max length 2000 |
theme.cornerRadius | "none" | "small" | "medium" | "large" | Non | |
active | boolean | Non |
Exemple
curl -X PATCH "https://api.firmado.app/v1/link-pages/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"slug": "…",
"title": "…",
"bio": "…"
}'const res = await fetch("https://api.firmado.app/v1/link-pages/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"slug": "…",
"title": "…",
"bio": "…"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/link-pages/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"slug": "…",
"title": "…",
"bio": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/link-pages/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"name": "Ana Lima",
"slug": "…",
"title": "…",
"bio": "…"
}
JSON,
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/link-pages/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"slug": "…",
"title": "…",
"bio": "…"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)body := strings.NewReader(`{
"name": "Ana Lima",
"slug": "…",
"title": "…",
"bio": "…"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/link-pages/{id}", body)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/link-pages/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"slug": "…",
"title": "…",
"bio": "…"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("PATCH"), "https://api.firmado.app/v1/link-pages/{id}");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"slug": "…",
"title": "…",
"bio": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/link-pages/{id}/stats
Visites d’une page de liens et clics par lien, par jour.
Lire/{id}/statsEn cas de succès : 200.Permission : Lire.
Paramètres de chemin
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
id | string | Oui |
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
days | integer | Non | default 30 |
Réponse
17 champs
| Champ | Type | Toujours présent |
|---|---|---|
days | integer | Oui |
links | array of object | Oui |
links[].clicks | integer | Oui |
links[].id | string | Oui |
links[].title | string | Oui |
links[].url | string | Oui |
series | array of object | Oui |
series[].clicks | integer | Oui |
series[].day | string (date) | Oui |
series[].views | integer | Oui |
sources | array of object | Oui |
sources[].source | string | Oui |
sources[].views | integer | Oui |
totals | object | Oui |
totals.clickRate | number | Oui |
totals.clicks | integer | Oui |
totals.views | integer | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/link-pages/{id}/stats" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/link-pages/{id}/stats", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/link-pages/{id}/stats",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/link-pages/{id}/stats");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/link-pages/{id}/stats")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/link-pages/{id}/stats", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/link-pages/{id}/stats"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/link-pages/{id}/stats");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"days": 1,
"totals": {
"views": 1,
"clicks": 1,
"clickRate": 1
},
"series": [
{
"day": "2026-11-21",
"views": 1,
"clicks": 1
}
],
"links": [
{
"id": "…",
"title": "…",
"url": "https://example.com",
"clicks": 1
}
],
"sources": [
{
"source": "…",
"views": 1
}
]
}GET/v1/link-pages/look
L’apparence dont part l’aperçu d’une page de liens ; n’enregistre rien.
Lire/lookEn cas de succès : 200.Permission : Lire.
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
templateId | "classic" | "modern" | "minimal" | "bold" | Non |
Exemple
curl -X GET "https://api.firmado.app/v1/link-pages/look" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/link-pages/look", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/link-pages/look",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/link-pages/look");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/link-pages/look")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/link-pages/look", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/link-pages/look"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/link-pages/look");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();GET/v1/link-pages/slug-check
Si une adresse est libre pour une page de liens.
Lire/slug-checkEn cas de succès : 200.Permission : Lire.
Paramètres de requête
| Champ | Type | Obligatoire | Notes |
|---|---|---|---|
slug | string | Oui | max length 60 |
exclude | string (uuid) | Non |
Réponse
3 champs
| Champ | Type | Toujours présent |
|---|---|---|
available | boolean | Oui |
slug | string | Oui |
valid | boolean | Oui |
Exemple
curl -X GET "https://api.firmado.app/v1/link-pages/slug-check" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/link-pages/slug-check", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/link-pages/slug-check",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/link-pages/slug-check");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
]);
$data = json_decode(curl_exec($ch), true);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);require "net/http"
require "json"
uri = URI("https://api.firmado.app/v1/link-pages/slug-check")
req = Net::HTTP::Get.new(uri)
req["X-Api-Key"] = "fmd_..."
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)req, _ := http.NewRequest("GET", "https://api.firmado.app/v1/link-pages/slug-check", nil)
req.Header.Set("X-Api-Key", "fmd_...")
res, err := http.DefaultClient.Do(req)var request = HttpRequest.newBuilder(URI.create("https://api.firmado.app/v1/link-pages/slug-check"))
.header("X-Api-Key", "fmd_...")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.firmado.app/v1/link-pages/slug-check");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Réponse (200), avec des valeurs d’exemple :
{
"slug": "…",
"available": true,
"valid": true
}Événements de webhook
Les changements de cette fonctionnalité que les webhooks peuvent envoyer.
link_page.createdCréerlink_page.updatedModifierlink_page.deletedSupprimer