Get Link
FreshGETGET https://api.creatify.ai/api/links/{id}/Retrieve a specific link by its ID.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The link ID |
Headers
| Header | Type | Required | Description |
|---|---|---|---|
X-API-ID | string | Yes | Your Creatify API ID |
X-API-KEY | string | Yes | Your Creatify API key |
Example Request
bash
curl -X GET 'https://api.creatify.ai/api/links/link-001/' \
-H 'X-API-ID: your-api-id' \
-H 'X-API-KEY: your-api-key'Response
json
{
"id": "link-001",
"url": "https://example.com/product",
"title": "Product Name",
"description": "Product description extracted from the page",
"images": ["https://example.com/img1.jpg", "https://example.com/img2.jpg"],
"price": "$29.99",
"brand": "Example Brand",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique link identifier |
url | string | Original URL |
title | string | Extracted page title |
description | string | Extracted description |
images | array | Array of extracted image URLs |
price | string | Extracted price (if available) |
brand | string | Extracted brand name (if available) |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |
Status Codes
| Code | Description |
|---|---|
200 | Success |
401 | Unauthorized -- invalid API credentials |
404 | Link not found |
500 | Internal server error |