Get one file of the media library

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-media-get"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/099bc903-b694-4c12-b076-656b1d60b86f/social-card.svg?v=3e7ae33eec8b" alt="Get one file of the media library" width="600" height="315"></a>
GET http://localhost:4000/api/v1/media/{id}

Type, size, dimensions and a fresh short-lived download url. A file that answers here is stored and ready to attach to a post.

Parameters

id
string
path
required

Code samples

cURL
curl -X GET "http://localhost:4000/api/v1/media/{id}" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "id": "string",
  "organizationId": "string",
  "name": "string",
  "mime": "string",
  "size": 0,
  "alt": "string",
  "width": 0,
  "height": 0,
  "durationMs": 0,
  "frames": 0,
  "clientId": "string",
  "createdAt": "2024-01-01T00:00:00Z",
  "url": "string",
  "thumbnailUrl": "string"
}
Schema
id
string
required
organizationId
string
required
name
string
required
mime
string
required
size
number
required
alt
string
required
width
number
required
height
number
required
durationMs
number
required
frames
number
required
clientId
string
required
createdAt
string
required
url
string
required
thumbnailUrl
string
required
Updated