API documentation
User
Tenant
Feature
Entitlement
User & permissions
Settings
- Settings
- Media
- Webhook
- Notification
Payment
- Payment Method
- Transaction
- SEPA XML
- Open Banking
- Bank Account Transaction
Customer
- Customer
- Customer Address
- Customer Email
- Customer Settings
- Customer Otp
Billing
- Invoice
- Invoice Position Item
- Billing Run
Dunning
- Dunning Document
- Dunning Rule
Subscription
- Subscription
- Subscription Item
- Subscription Measurement
- Billing Group
Offers
- Offer
- Offer Recipient
- Offer Template
Catalogue
- Unit
- Measurement
- Product
- Product Family
- Price Plan
- Coupon
Checkout
- Checkout Link
- Cart
Accounting
Media
Get a media
Get a media by id
Required permissions:media:read
GET
/
media
/
{id}
curl -X GET \
/media/{id} \
--header "Authorization: Bearer <token>"
{
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
"mediaFolder": {
"name": "invoice"
},
"isPrivate": true,
"mimeType": "image/jpeg",
"fileExtension": "jpg",
"fileName": "invoice.jpg",
"storageFileName": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ.jpg",
"createdAt": "2021-01-01T00:00:00+00:00"
}
Authorizations
Value for the Authorization header parameter.
Path Parameters
Media identifier
Response
200
application/json
Media resource
Was this page helpful?
curl -X GET \
/media/{id} \
--header "Authorization: Bearer <token>"
{
"id": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ",
"mediaFolder": {
"name": "invoice"
},
"isPrivate": true,
"mimeType": "image/jpeg",
"fileExtension": "jpg",
"fileName": "invoice.jpg",
"storageFileName": "01F9Z3ZJXZQZJZJZJZJZJZJZJZ.jpg",
"createdAt": "2021-01-01T00:00:00+00:00"
}
Assistant
Responses are generated using AI and may contain mistakes.