API Reference
Upload files for Devin
Upload files for Devin to work with during sessions. Supports various file types including code, data, and documentation files.
POST
Note that this endpoint doesn’t directly send the file to any Devin session. Instead, it saves the uploaded file in our servers and returns a URL to the file. You can then provide the URL to Devin by including it in the prompt when you create a new session or send a message.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
multipart/form-data
The file to upload
Response
200 - text/plain
A string URL where the uploaded file can be accessed