Get Business Posts
curl --request GET \
--url https://prod.willro.com/api/v1/integration/business-api/posts \
--header 'x-api-key: <api-key>'import requests
url = "https://prod.willro.com/api/v1/integration/business-api/posts"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://prod.willro.com/api/v1/integration/business-api/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://prod.willro.com/api/v1/integration/business-api/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://prod.willro.com/api/v1/integration/business-api/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.willro.com/api/v1/integration/business-api/posts")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.willro.com/api/v1/integration/business-api/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"links": {
"self": "/api/v1/integration/business-api/posts"
},
"pagination": {
"page": 1,
"limit": 10,
"totalItems": 8,
"totalPages": 1
},
"data": [
{
"author": {
"name": "Willro update",
"picture": "https://ik.imagekit.io/willro/author.png",
"username": "willro.com"
},
"content": "This is a sample feed post with images and location!",
"views": 0,
"layout": "CLASSIC",
"createdAt": "2025-07-10T22:18:55.547Z",
"reactions": 0,
"topReactions": [
"LOVE"
],
"comments": 0,
"shares": 0,
"location": "London, Uk",
"medias": [
{
"id": "68703c4f8eb295fad8dc0292",
"url": "https://example.com/image1.jpg",
"thumbnailUrl": "https://example.com/thumb1.jpg",
"type": "IMAGE",
"fileName": "image1.jpg"
}
]
}
]
}{
"code": 401,
"message": "API key is required",
"timestamp": "2025-07-09T08:33:54.383Z",
"path": "/api/integration/business-api/reviews?page=1&limit=10",
"error": "Unauthorized"
}API EXAMPLES
Get Business Posts
GET
/
integration
/
business-api
/
posts
Get Business Posts
curl --request GET \
--url https://prod.willro.com/api/v1/integration/business-api/posts \
--header 'x-api-key: <api-key>'import requests
url = "https://prod.willro.com/api/v1/integration/business-api/posts"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://prod.willro.com/api/v1/integration/business-api/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://prod.willro.com/api/v1/integration/business-api/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://prod.willro.com/api/v1/integration/business-api/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://prod.willro.com/api/v1/integration/business-api/posts")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://prod.willro.com/api/v1/integration/business-api/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"links": {
"self": "/api/v1/integration/business-api/posts"
},
"pagination": {
"page": 1,
"limit": 10,
"totalItems": 8,
"totalPages": 1
},
"data": [
{
"author": {
"name": "Willro update",
"picture": "https://ik.imagekit.io/willro/author.png",
"username": "willro.com"
},
"content": "This is a sample feed post with images and location!",
"views": 0,
"layout": "CLASSIC",
"createdAt": "2025-07-10T22:18:55.547Z",
"reactions": 0,
"topReactions": [
"LOVE"
],
"comments": 0,
"shares": 0,
"location": "London, Uk",
"medias": [
{
"id": "68703c4f8eb295fad8dc0292",
"url": "https://example.com/image1.jpg",
"thumbnailUrl": "https://example.com/thumb1.jpg",
"type": "IMAGE",
"fileName": "image1.jpg"
}
]
}
]
}{
"code": 401,
"message": "API key is required",
"timestamp": "2025-07-09T08:33:54.383Z",
"path": "/api/integration/business-api/reviews?page=1&limit=10",
"error": "Unauthorized"
}Authorizations
Use this API Key: willro_live_sk_95ad4a1e-48ac-4872-ae02-0d40072b60bf_6b7ec4b3af7911a65ee1c3a5ce3fe84b8c2e34136ca71030
Response
Posts retrieved.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Example:
[
{
"author": {
"name": "Willro update",
"picture": "https://ik.imagekit.io/willro/author.png",
"username": "willro.com"
},
"content": "This is a sample feed post with images and location!",
"views": 0,
"layout": "CLASSIC",
"createdAt": "2025-07-10T22:18:55.547Z",
"reactions": 0,
"topReactions": ["LOVE"],
"comments": 0,
"shares": 0,
"location": "London, Uk",
"medias": [
{
"id": "68703c4f8eb295fad8dc0292",
"url": "https://example.com/image1.jpg",
"thumbnailUrl": "https://example.com/thumb1.jpg",
"type": "IMAGE",
"fileName": "image1.jpg"
}
]
}
]
⌘I
