Attachments
Create an attachment on a record description
Many records throughout Aha! have an associated description: features, requirements, ideas, etc. You can find the ID of a record's description within the description attribute returned by any record show endpoint. You can then use that description ID to create an attachment on the record by providing it as the note_id URL parameter for this endpoint.
post/notes/{note_id}/attachments
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
note_idstring required
NoteId identifier
Request body multipart/form-data
Response
Successful operation
Example response
{
"attachment": {
"id": "6776881149492544916",
"download_url": "https://company.aha.io/attachments/6776881149492544916/token/5e0c518000a14554.download?size=original",
"created_at": "2019-01-01T00:00:00.000Z",
"updated_at": "2019-01-01T00:00:00.000Z",
"original_file_size": 0,
"content_type": "text/html",
"file_name": "home_page.html",
"file_size": 0
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.