Skip to main content
POST
/
document
/
v1
/
drive
/
native
cURL
curl --request POST \
  --url https://aodocs.altirnao.com/api/document/v1/drive/native \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

title
string
required

The title of the file

folderId
string
required

The ID of the target parent folder.

type
string
required

The MIME type of the file

byUser
boolean
default:false

Whether the document should be immediately checked-out by the user if the document is read-only if not checked-out

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiId response

id
string
kind
string