Public
Search...
/
About
For Developers
Authentication
Pagination
Versioning
Rate Limits
Errors
API Reference
Getting started
artifacts
Attachments
GET
Get
POST
Get Post
GET
List
POST
List Post
GET
Locate
POST
Locate Post
POST
Prepare
auth-connection
auth-tokens
dev-users
parts
rev-orgs
tags
timeline-entries
webhooks
works
accounts
slas
keyring
Guides
Getting started with webhooks
Restricted messages on a timeline
SDKs
PLuG SDK
Snap-in development
Concepts
Tutorials
ADaaS
References
Development best practices
Locally testing snap-ins
Handling errors and retrying
Debugging
Quotas and limits
Upgrade snap-ins
Code Samples
API Reference
artifacts
Prepare
POST
https://
api.devrev.ai
/
artifacts.prepare
Creates an artifact and generates an upload URL for its data.
Request
This endpoint expects an object.
file_name
string
Required
The name of the file that's being uploaded.
file_type
string
Optional
The type of file that's being uploaded.
Response
This endpoint returns an object.
form_data
list of objects
The POST policy form data.
Show 2 properties
id
string
The generated artifact's ID.
url
string
The URL that the file's data should be uploaded to.
Built with