List Resources
curl --request GET \
--url https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}import requests
url = "https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}', 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://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"data": {
"results": [
{}
],
"pagination": {
"hasNextPage": true,
"cursor": "<string>",
"total": 123
},
"included": [
{
"type": "<string>",
"id": "<string>",
"attributes": {}
}
]
}
}{
"message": "<string>",
"success": false,
"errors": [
"<string>"
]
}{
"success": true,
"message": "<string>",
"data": {
"error": "<string>"
}
}Partner Resources
List Resources
Retrieves all resources using schema name or ID. Can include reference fields to resolve and filter by field values. Supports pagination using cursor and limit parameters.
GET
/
api
/
resources
/
{schemaDefinitionNameOrId}
List Resources
curl --request GET \
--url https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}import requests
url = "https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}', 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://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"data": {
"results": [
{}
],
"pagination": {
"hasNextPage": true,
"cursor": "<string>",
"total": 123
},
"included": [
{
"type": "<string>",
"id": "<string>",
"attributes": {}
}
]
}
}{
"message": "<string>",
"success": false,
"errors": [
"<string>"
]
}{
"success": true,
"message": "<string>",
"data": {
"error": "<string>"
}
}Headers
Path Parameters
Query Parameters
Whether to include total count in pagination response. Default is true. DEPRECATION NOTICE: The default will change to false in a future release for performance reasons. If you rely on pagination.total, explicitly set includeCounts=true.
Available options:
true, false