Skip to content

Get an object

Retrieve an object from Tallyfy Answers

This endpoint lets you fetch a specific object from a collection using its unique identifier. You’ll get the complete data for an individual record.

API endpoint

GET /v1/collections/{collection_name}/objects/{object_id}

Request parameters

ParameterTypeRequiredDescription
collection_namepathYesName of the collection containing the object
object_idpathYesUnique identifier of the object to retrieve

Response

A successful request returns a 200 OK status code and a JSON object with all the properties of the requested object:

{
"id": "product-123",
"name": "Wireless Headphones",
"description": "Premium noise-canceling headphones with 20-hour battery life",
"price": 79.99,
"categories": ["electronics", "audio", "wireless"],
"created_at": "2023-08-15T14:32:21Z",
"updated_at": "2023-08-15T14:32:21Z"
}

Error scenarios

StatusDescription
404Object or collection not found
400Invalid object ID format

Example request

Terminal window
curl -X GET https://go.tallyfy.com/api/collections/products/objects/product-123 \
-H "X-Answers-API-Key: your_api_key"

Usage notes

  • It’s well suited for displaying detailed information about a specific item
  • If you’re searching across multiple objects, use the search endpoint instead
  • The API returns the complete object with all its properties
  • System fields like created_at and updated_at are always included1

Answers > Objects

Objects are JSON data records in Tallyfy Answers that belong to collections. They can be…

Footnotes

  1. ISO 8601 format timestamps (YYYY-MM-DDTHH:mm:ssZ) tracked at microsecond precision in PostgreSQL