Skip to main content
POST
/
api
/
datastores
/
v1
/
collections
/
{collectionId}
/
documents
Create Document
curl --request POST \
  --url https://example.com/v1/api/datastores/v1/collections/{collectionId}/documents \
  --header 'Content-Type: application/json' \
  --header 'X-DOMO-Developer-Token: <api-key>' \
  --data '
{
  "content": {
    "username": "Bill",
    "band": "Wyld Stallyns"
  }
}
'

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication.

Path Parameters

collectionId
string
required

The ID of the collection.

Body

application/json
content
object
required

Arbitrary JSON content of the document.

Response

200

OK (Response body is not documented)