Get email template attachments

Retrieves a list of attachments associated with a specific email template.

Please log in to see full path URL. Learn why.
get
/email/1/templates/{templateId}/attachments
Request rate limit:
10 requests / second (per account)
path Parameters
templateId
required
integer <int64>

Unique identifier (ID) of the email template.

Responses

200

OK

400

Bad request

401

Unauthorized

403

Forbidden

404

Not Found

429

Too Many Requests

500

Internal Server Error

Request samples

Example
cURL
Copy
curl -L -g 'https://{baseUrl}/email/1/templates/{templateId}/attachments' \
-H 'Authorization: {authorization}' \
-H 'Accept: application/json'

Response samples

Content type
application/json
Copy
Collapse all
[
  • {
    • "id": "7BE07D39-C7DA-4ED4-9F45-33BDB8643AA1",
    • "contentType": "application/pdf",
    • "fileName": "attachment.pdf",
    • "size": 1024,
    • "url": "/email/1/templates/1000000000000000001/attachments/7BE07D39-C7DA-4ED4-9F45-33BDB8643AA1/download"
    }
]

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.