Services and products
Catalog services and products, with prices and photos.
Values for the examples
Type them once and every example on this page uses them. The API key stays on this page only and is never saved.
GET/v1/services
Lists the catalog services and products.
ListOn success: 200.Permission: Read.
Query parameters
| Field | Type | Required | Notes |
|---|---|---|---|
page | integer | No | min 1 · default 1 |
pageSize | integer | No | min 1 · max 100 · default 25 |
q | string | No | min length 1 · max length 200 |
archived | string | No | |
kind | "service" | "product" | No |
Response
28 fields
| Field | Type | Always there |
|---|---|---|
data | array of object | Yes |
data[].archived | boolean | Yes |
data[].availability | string | Yes |
data[].brand | string | null | Yes |
data[].category | null in the examples | Yes |
data[].condition | string | Yes |
data[].createdAt | string (date-time) | Yes |
data[].createdBy | string (uuid) | Yes |
data[].currency | string | Yes |
data[].description | null in the examples | Yes |
data[].gtin | null in the examples | Yes |
data[].id | string (uuid) | Yes |
data[].images | array of any | Yes |
data[].kind | string | Yes |
data[].mpn | null in the examples | Yes |
data[].name | string | Yes |
data[].organizationId | string (uuid) | Yes |
data[].prices | object | Yes |
data[].productGroup | string | null | Yes |
data[].productUrl | null in the examples | Yes |
data[].publicVisible | boolean | Yes |
data[].sku | string | null | Yes |
data[].unitPrice | integer | Yes |
data[].updatedAt | string (date-time) | Yes |
data[].updatedBy | string (uuid) | Yes |
page | integer | Yes |
pageSize | integer | Yes |
total | integer | Yes |
Example
curl -X GET "https://api.firmado.app/v1/services" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/services", {
method: "GET",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.get(
"https://api.firmado.app/v1/services",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/services");
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/services")
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/services", 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/services"))
.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/services");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"data": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"kind": "…",
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": null,
"mpn": null,
"category": null,
"productUrl": null,
"condition": "…",
"availability": "…",
"images": [],
"name": "Ana Lima",
"description": null,
"currency": "USD",
"unitPrice": 1,
"prices": {},
"publicVisible": true,
"archived": 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"
}
],
"page": 1,
"pageSize": 1,
"total": 1
}POST/v1/services
Creates a service or a product.
CreateOn success: 201.Permission: Create.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
kind | "service" | "product" | No | default "service" |
sku | string | null | No | |
productGroup | string | null | No | |
brand | string | null | No | |
gtin | string | null | No | |
mpn | string | null | No | |
category | string | null | No | |
productUrl | string (uri) | null | No | |
condition | "new" | "refurbished" | "used" | No | |
availability | "in_stock" | "out_of_stock" | "preorder" | No | |
name | string | Yes | min length 1 · max length 200 |
description | string | null | No | |
currency | string | No | pattern ^[A-Z]{3}$ |
unitPrice | integer | Yes | min 0 · max 10000000000000 |
prices | object of integer | No | |
publicVisible | boolean | No | |
archived | boolean | No |
Response
24 fields
| Field | Type | Always there |
|---|---|---|
archived | boolean | Yes |
availability | string | Yes |
brand | string | null | Yes |
category | null in the examples | Yes |
condition | string | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
description | string | null | Yes |
gtin | null in the examples | Yes |
id | string (uuid) | Yes |
images | array of any | Yes |
kind | string | Yes |
mpn | null in the examples | Yes |
name | string | Yes |
organizationId | string (uuid) | Yes |
prices | object | Yes |
productGroup | string | null | Yes |
productUrl | string | null (uri) | Yes |
publicVisible | boolean | Yes |
sku | string | null | Yes |
unitPrice | integer | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X POST "https://api.firmado.app/v1/services" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Ana Lima",
"unitPrice": 0,
"kind": "service",
"sku": "…"
}'const res = await fetch("https://api.firmado.app/v1/services", {
method: "POST",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Ana Lima",
"unitPrice": 0,
"kind": "service",
"sku": "…"
}),
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/services",
headers={"X-Api-Key": "fmd_..."},
json={
"name": "Ana Lima",
"unitPrice": 0,
"kind": "service",
"sku": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/services");
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",
"unitPrice": 0,
"kind": "service",
"sku": "…"
}
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/services")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"name": "Ana Lima",
"unitPrice": 0,
"kind": "service",
"sku": "…"
}
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",
"unitPrice": 0,
"kind": "service",
"sku": "…"
}`)
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/services", 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/services"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"name": "Ana Lima",
"unitPrice": 0,
"kind": "service",
"sku": "…"
}
"""))
.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/services");
request.Content = new StringContent(""""
{
"name": "Ana Lima",
"unitPrice": 0,
"kind": "service",
"sku": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (201), with sample values:
{
"archived": true,
"availability": "…",
"brand": "…",
"category": null,
"condition": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"currency": "USD",
"description": "…",
"gtin": null,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"images": [],
"kind": "…",
"mpn": null,
"name": "Ana Lima",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"prices": {},
"productGroup": "…",
"productUrl": "https://example.com",
"publicVisible": true,
"sku": "…",
"unitPrice": 1,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}DELETE/v1/services/{id}
Deletes a service or product; proposals and invoices keep their copies.
DeleteOn success: 204.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/services/{id}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/services/{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/services/{id}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()<?php
$ch = curl_init("https://api.firmado.app/v1/services/{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/services/{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/services/{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/services/{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/services/{id}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();PATCH/v1/services/{id}
Changes a service or product: prices, description and visibility.
UpdateOn success: 200.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body
| Field | Type | Required | Notes |
|---|---|---|---|
sku | string | null | No | |
productGroup | string | null | No | |
brand | string | null | No | |
gtin | string | null | No | |
mpn | string | null | No | |
category | string | null | No | |
productUrl | string (uri) | null | No | |
condition | "new" | "refurbished" | "used" | No | |
availability | "in_stock" | "out_of_stock" | "preorder" | No | |
name | string | No | min length 1 · max length 200 |
description | string | null | No | |
currency | string | No | pattern ^[A-Z]{3}$ |
unitPrice | integer | No | min 0 · max 10000000000000 |
prices | object of integer | No | |
publicVisible | boolean | No | |
archived | boolean | No |
Response
28 fields
| Field | Type | Always there |
|---|---|---|
archived | boolean | Yes |
availability | string | Yes |
brand | null in the examples | Yes |
category | null in the examples | Yes |
condition | string | Yes |
createdAt | string (date-time) | Yes |
createdBy | string (uuid) | Yes |
currency | string | Yes |
description | string | null | Yes |
gtin | null in the examples | Yes |
id | string (uuid) | Yes |
images | array of object | Yes |
images[].id | string (uuid) | Yes |
images[].url | string (uri) | Yes |
kind | string | Yes |
mpn | null in the examples | Yes |
name | string | Yes |
organizationId | string (uuid) | Yes |
prices | object | Yes |
prices.BRL | integer | No |
prices.USD | integer | No |
productGroup | null in the examples | Yes |
productUrl | null in the examples | Yes |
publicVisible | boolean | Yes |
sku | string | null | Yes |
unitPrice | integer | Yes |
updatedAt | string (date-time) | Yes |
updatedBy | string (uuid) | Yes |
Example
curl -X PATCH "https://api.firmado.app/v1/services/{id}" \
-H "X-Api-Key: fmd_..." \
-H "Content-Type: application/json" \
-d '{
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": "…"
}'const res = await fetch("https://api.firmado.app/v1/services/{id}", {
method: "PATCH",
headers: { "X-Api-Key": "fmd_...", "Content-Type": "application/json" },
body: JSON.stringify({
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": "…"
}),
})
const data = await res.json()import requests
res = requests.patch(
"https://api.firmado.app/v1/services/{id}",
headers={"X-Api-Key": "fmd_..."},
json={
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": "…",
},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/services/{id}");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_...", "Content-Type: application/json"],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": "…"
}
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/services/{id}")
req = Net::HTTP::Patch.new(uri)
req["X-Api-Key"] = "fmd_..."
req["Content-Type"] = "application/json"
req.body = <<~JSON
{
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": "…"
}
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(`{
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": "…"
}`)
req, _ := http.NewRequest("PATCH", "https://api.firmado.app/v1/services/{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/services/{id}"))
.header("X-Api-Key", "fmd_...")
.header("Content-Type", "application/json")
.method("PATCH", HttpRequest.BodyPublishers.ofString("""
{
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": "…"
}
"""))
.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/services/{id}");
request.Content = new StringContent(""""
{
"sku": "…",
"productGroup": "…",
"brand": "…",
"gtin": "…"
}
"""", Encoding.UTF8, "application/json");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"archived": true,
"availability": "…",
"brand": null,
"category": null,
"condition": "…",
"createdAt": "2026-11-21T14:00:00.000Z",
"createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"currency": "USD",
"description": "…",
"gtin": null,
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"images": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"url": "https://example.com"
}
],
"kind": "…",
"mpn": null,
"name": "Ana Lima",
"organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"prices": {
"BRL": 1,
"USD": 1
},
"productGroup": null,
"productUrl": null,
"publicVisible": true,
"sku": "…",
"unitPrice": 1,
"updatedAt": "2026-11-21T14:00:00.000Z",
"updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}POST/v1/services/{id}/images
Uploads a photo for a service or product.
Update/{id}/imagesOn success: 201.Permission: Update.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes |
Body: a multipart form, with the file in `file`
| Field | Type | Required | Notes |
|---|---|---|---|
file | string (binary) | Yes |
Response
3 fields
| Field | Type | Always there |
|---|---|---|
images | array of object | Yes |
images[].id | string (uuid) | Yes |
images[].url | string (uri) | Yes |
Example
curl -X POST "https://api.firmado.app/v1/services/{id}/images" \
-H "X-Api-Key: fmd_..." \
-F "file=@./file.pdf"import { openAsBlob } from "node:fs"
const form = new FormData()
form.append("file", await openAsBlob("./file.pdf"), "file.pdf")
const res = await fetch("https://api.firmado.app/v1/services/{id}/images", {
method: "POST",
headers: { "X-Api-Key": "fmd_..." },
body: form,
})
const data = await res.json()import requests
res = requests.post(
"https://api.firmado.app/v1/services/{id}/images",
headers={"X-Api-Key": "fmd_..."},
files={"file": open("file.pdf", "rb")},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/services/{id}/images");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-Api-Key: fmd_..."],
CURLOPT_POSTFIELDS => ["file" => new CURLFile("file.pdf")],
]);
$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/services/{id}/images")
req = Net::HTTP::Post.new(uri)
req["X-Api-Key"] = "fmd_..."
req.set_form([["file", File.open("file.pdf")]], "multipart/form-data")
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") { |http| http.request(req) }
data = JSON.parse(res.body)var buf bytes.Buffer
form := multipart.NewWriter(&buf)
part, _ := form.CreateFormFile("file", "file.pdf")
f, _ := os.Open("file.pdf")
io.Copy(part, f)
form.Close()
req, _ := http.NewRequest("POST", "https://api.firmado.app/v1/services/{id}/images", &buf)
req.Header.Set("X-Api-Key", "fmd_...")
req.Header.Set("Content-Type", form.FormDataContentType())
res, err := http.DefaultClient.Do(req)// Multipart is simplest with OkHttp (com.squareup.okhttp3:okhttp)
var body = new MultipartBody.Builder().setType(MultipartBody.FORM)
.addFormDataPart("file", "file.pdf", RequestBody.create(new File("file.pdf"), null))
.build();
var request = new Request.Builder()
.url("https://api.firmado.app/v1/services/{id}/images")
.header("X-Api-Key", "fmd_...")
.method("POST", body)
.build();
var response = new OkHttpClient().newCall(request).execute();using var http = new HttpClient();
http.DefaultRequestHeaders.Add("X-Api-Key", "fmd_...");
var request = new HttpRequestMessage(new HttpMethod("POST"), "https://api.firmado.app/v1/services/{id}/images");
request.Content = new MultipartFormDataContent { { new StreamContent(File.OpenRead("file.pdf")), "file", "file.pdf" } };
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (201), with sample values:
{
"images": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"url": "https://example.com"
}
]
}DELETE/v1/services/{id}/images/{imageId}
Removes a service’s or product’s photo.
Delete/{id}/images/{imageId}On success: 200.Permission: Delete.
Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | Yes | |
imageId | string | Yes |
Response
3 fields
| Field | Type | Always there |
|---|---|---|
images | array of object | Yes |
images[].id | string (uuid) | Yes |
images[].url | string (uri) | Yes |
Example
curl -X DELETE "https://api.firmado.app/v1/services/{id}/images/{imageId}" \
-H "X-Api-Key: fmd_..."const res = await fetch("https://api.firmado.app/v1/services/{id}/images/{imageId}", {
method: "DELETE",
headers: { "X-Api-Key": "fmd_..." },
})
const data = await res.json()import requests
res = requests.delete(
"https://api.firmado.app/v1/services/{id}/images/{imageId}",
headers={"X-Api-Key": "fmd_..."},
)
res.raise_for_status()
data = res.json()<?php
$ch = curl_init("https://api.firmado.app/v1/services/{id}/images/{imageId}");
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/services/{id}/images/{imageId}")
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) }
data = JSON.parse(res.body)req, _ := http.NewRequest("DELETE", "https://api.firmado.app/v1/services/{id}/images/{imageId}", 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/services/{id}/images/{imageId}"))
.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/services/{id}/images/{imageId}");
var response = await http.SendAsync(request);
response.EnsureSuccessStatusCode();Response (200), with sample values:
{
"images": [
{
"id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
"url": "https://example.com"
}
]
}Webhook events
Changes of this feature that webhooks can send.
service.createdCreateservice.updatedUpdateservice.deletedDelete