Skip to main content
POST
Create an attachment upload target

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Body

application/json
threadId
string
required
filename
string
required
contentType
string
required
agentSlug
string
sizeBytes
integer

Response

201 - application/json

Upload target.

data
object