Adam API

Upload a task attachment

Uploads bytes for a later task or message. The returned upload id is opaque, expires after 24 hours, and creates no durable file until referenced.

post/v1/uploads

Request

  • Base URL
    https://api.adam.new
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://api.adam.new/auth/oauth2/authorize
      Token URLhttps://api.adam.new/auth/oauth2/token
      Scopesfiles:write
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body multipart/form-data

filestring binary required

Response

Changes

No recorded changes to this operation across all 8 revisions of this API.