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
Authorizations:
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
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/email/1/templates/{templateId}/attachments' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
- 500
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"
}
]
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See