Get Resource
curl --request GET \
--url https://app.flashquotes.com/api/resources/{id} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.flashquotes.com/api/resources/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.flashquotes.com/api/resources/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)require 'uri'
require 'net/http'
url = URI("https://app.flashquotes.com/api/resources/{id}")
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_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.flashquotes.com/api/resources/{id}"
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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.flashquotes.com/api/resources/{id}",
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;
}{
"object": "resource",
"id": "res_5M2wQ8",
"name": "Espresso Cart",
"description": "Mobile espresso bar with barista station",
"imageUrl": "https://cdn.flashquotes.com/resources/espresso-cart.jpg",
"category": "Beverage",
"status": "Active",
"locationId": "loc_7H2pQ9",
"createdAt": "2026-04-12T10:15:00.000Z",
"updatedAt": "2026-05-02T08:44:31.000Z"
}{
"error": {
"type": "invalid_request_error",
"code": "invalid_parameter",
"message": "Unknown expand path: 'location'",
"param": "expand"
}
}{
"error": {
"type": "authentication_error",
"code": "missing_or_invalid_api_key",
"message": "Unauthorized, invalid or missing API key"
}
}{
"error": {
"type": "invalid_request_error",
"code": "not_found",
"message": "Resource not found",
"param": "id"
}
}Resources
Get Resource
Retrieve a single resource by id
GET
/
resources
/
{id}
Get Resource
curl --request GET \
--url https://app.flashquotes.com/api/resources/{id} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.flashquotes.com/api/resources/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.flashquotes.com/api/resources/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)require 'uri'
require 'net/http'
url = URI("https://app.flashquotes.com/api/resources/{id}")
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_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.flashquotes.com/api/resources/{id}"
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))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.flashquotes.com/api/resources/{id}",
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;
}{
"object": "resource",
"id": "res_5M2wQ8",
"name": "Espresso Cart",
"description": "Mobile espresso bar with barista station",
"imageUrl": "https://cdn.flashquotes.com/resources/espresso-cart.jpg",
"category": "Beverage",
"status": "Active",
"locationId": "loc_7H2pQ9",
"createdAt": "2026-04-12T10:15:00.000Z",
"updatedAt": "2026-05-02T08:44:31.000Z"
}{
"error": {
"type": "invalid_request_error",
"code": "invalid_parameter",
"message": "Unknown expand path: 'location'",
"param": "expand"
}
}{
"error": {
"type": "authentication_error",
"code": "missing_or_invalid_api_key",
"message": "Unauthorized, invalid or missing API key"
}
}{
"error": {
"type": "invalid_request_error",
"code": "not_found",
"message": "Resource not found",
"param": "id"
}
}Retrieves the resource with the given id. Use this endpoint to look up a specific piece of equipment or asset when you already have its id — for example, from the
The response includes the resource’s own scalar fields plus its
resources array returned by an expanded event.
curl "https://app.flashquotes.com/api/resources/res_5M2wQ8" \
-H "x-api-key: $FLASHQUOTES_API_KEY"
locationId, createdAt, and updatedAt. Cross-tenant or unknown ids return 404.
Expand
Resources have no expandable relations. Anyexpand[] value returns 400 with the offending path echoed as param.Response
Resource retrieved successfully
Default response includes all fields below. Resources have no expandable relations.
Was this page helpful?

