Get File By ID
- Param
- Response
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | ✅ | ID of the elemental |
| file_id | string | ✅ | ID of the file |
Example
/v1/elemental/your-elemental-id/file/file-id
Properties
| Name | Type | Description |
|---|---|---|
| id | number | ID of the file |
| name | string | Name of the file |
| created_at | string | Timestamp of when the file was created |
| url | string | URL of the file |
| data | string | Data of the file |
Example
{
"response": {
"id": 1014,
"name": "cat-code-lhY.png",
"created_at": "2025-01-14T16:47:07.091668Z",
"url": "https://...",
"data": "kSuQmCC..."
}
}
CURL Example
curl -X GET "https://api-integrations.snackprompt.com/v1/elemental/{id}/file/{file_id}" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"