POST
/
files
curl --request POST \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<string>"
}'
{
  "url": "<string>",
  "key": "<string>",
  "presigned": {
    "url": "<string>",
    "fields": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful response

The response is of type object.

POST
/
files
curl --request POST \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<string>"
}'
{
  "url": "<string>",
  "key": "<string>",
  "presigned": {
    "url": "<string>",
    "fields": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful response

The response is of type object.