Email
Create email attachment
Create attachments by POSTing to the attachments URI. The body of the request must be a JSON object describing and including the contents of a file to attach.
post/api/attachments
Request
- Base URLhttps://go.urbanairship.com
- Auth
- HTTP basic
- or HTTP bearer
- or OAuth 2Client credentialsToken URLhttp://oauth2.{domain}.com/tokenScopesatt
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The email attachment was created. The response body will contain the IDs of the created attachments.
Changes
No recorded changes to this operation across all 9 revisions of this API.