Skip to main content
POST
/
conversations
/
upload
/
presign
Generate a presigned URL for conversation upload
curl --request POST \
  --url https://api.rulebase.co/conversations/upload/presign \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "upload": {
    "filename": "conversation.pdf",
    "source": "outreach_kaia"
  }
}
'
{
  "upload": {
    "id": "<string>",
    "url": "<string>"
  }
}
For detailed instructions on how to create and use the presigned URL to upload conversations, see the Uploading conversations guide.

Authorizations

Authorization
string
header
required

API key authentication using Bearer Token

Body

application/json
upload
object
required

The conversation upload details

Response

Successful response

upload
object
required

The conversation upload details