Skip to main content
POST
/
v1
/
uploads
Create Upload URL
curl --request POST \
  --url https://api.lab.fieldnode.dev/v1/uploads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "public": false
}
'
{
  "id": "<string>",
  "method": "<string>",
  "signedUrl": "<string>",
  "expireTime": "2023-11-07T05:31:56Z",
  "headers": {}
}

Documentation Index

Fetch the complete documentation index at: https://developer.fieldnode.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

File name.

public
boolean
default:false
required

Whether the file is public.

Response

The request has succeeded.

id
string
required

Upload id.

method
string
required

HTTP method for uploading file.

signedUrl
string
required

Signed URL. Used to upload file.

expireTime
string<date-time>
required

Expire time of the signed URL.

headers
object
required

HTTP headers for uploading file.