Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Create an attachment

Create an attachment. You can specify name, mime type or attachment file.

Path Params
string
required

Client ID

Body Params
file
required

file to be uploaded

string

name of the attachment

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

400

The parameters "name" and "file" are required or the file name has an invalid extension. Ensure that "name" and "file" parameters are added to the request and the file extension is correct.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/vnd.optivo.broadmail.v1+json