Create or replace a single document
One step with Appwrite. We can help you get access.
Get something done
Create or replace a single document
with Appwrite
Works with AI assistants
Use Appwrite: its Appwrite Documents DB API lets you create or replace a single document in a single step (PUT /documentsdb/{databaseId}/collections/{collectionId}/documents/{documentId}). Appwrite also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I write a document by ID whether or not it already exists?
- Can I upsert one document and set its permissions at the same time?
Say it to your AI assistant
- Upsert document {documentId} in collection {collectionId} of database {databaseId} with {data}.
- Create document {documentId} in collection {collectionId} of database {databaseId} if missing, otherwise overwrite it with {data}.
For your developer
PUT /documentsdb/{databaseId}/collections/{collectionId}/documents/{documentId} in Appwrite Documents DB API. Full spec on APIs.io.