Create a private user file upload URL

This endpoint creates a url to which you can upload the file you want to use in your conversation. After generating the url you should upload the file there with a put request.

The file id that you get back from this endpoint can be used in /create_conversation and /continue_conversation to attach it to a conversation.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

You can do this by using a curl request where you use the return values of this endpoint:

curl -X PUT "URL"
  -H "HEADER_KEY_1: HEADER_VALUE_2" 
  -H "HEADER_KEY_2: HEADER_VALUE_2" 
    --upload-file YOUR_LOCAL_FILE_PATH

Note that everything in capitals in this curl request needs to be replaced with values returned for this endpoint, and a path to the local file you want to upload.

Body Params
string
required
string
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*