Upload PDF attachment
Upload PDF attachment
- application/json
Request Body required
Upload a pdf to be an email attachment
- group string required
Possible values:
<= 90 characters
, Value must match regular expression^/api/v1/group/[-\w]{1,50}/$
URI of the group name
- pdf_file byte required
Base64 encoded PDF file data, max size is a group setting, 5MB by default
- filename string required
Possible values:
<= 250 characters
, Value must match regular expression^[-\w]{1,250}.pdf$
Simple alphanumeric name ending .pdf
- user string
Possible values: Value must match regular expression
^/api/v1/user/[-\w]{1,75}/$
Assign to group member if not the api user
- description string
Possible values:
<= 250 characters
Responses
- 201
- 400
- 401
- 429
- 500
Success. Attachment URI will be in Location header.
Bad Request, read response for error information
- example error report
- Response
{
"document": {
"name": "Filename must be not more than 250 characters"
}
}
Unauthorized
Throttled
Usually unparseable JSON
Loading...