Collections > Get a collection
The GET endpoint retrieves detailed collection information including metadata schema and object counts by using a unique collection name through the /v1/collections/[collection_name] path.
This endpoint allows you to fetch a specific object from a collection using its unique identifier. Use this to access the complete data for an individual record.
GET /v1/collections/{collection_name}/objects/{object_id}
Parameter | Type | Required | Description |
---|---|---|---|
collection_name | path | Yes | Name of the collection containing the object |
object_id | path | Yes | Unique identifier of the object to retrieve |
A successful request returns a 200 OK
status code and a JSON object containing 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"}
Status | Description |
---|---|
404 | Object or collection not found |
400 | Invalid object ID format |
curl -X GET https://go.tallyfy.com/api/v1/collections/products/objects/product-123 \ -H "X-Answers-API-Key: your_api_key"
created_at
and updated_at
are automatically includedCollections > Get a collection
Collections > Create a collection
Collections > Get all collections