Appearance
Fresh 2026
Writing Data Flow
The meta-first pattern for safely creating and updating records across integrations that each expect different fields.
Different platforms require different fields for the same write. Instead of hardcoding per-integration logic, you ask Merge what a given Linked Account needs via the /meta endpoint, then submit the write.
flowchart TD
A[Need to create a record] --> B[GET /model/meta]
B --> C[Read required + optional fields]
C --> D[Build request body to match meta]
D --> E[POST /model]
E --> F{Validation}
F -- Pass --> G[Record created at source]
F -- Fail --> H[Inspect errors, fix body]
H --> D
G --> I[Optional: nested + related writes in one call]Steps
- Call
/meta. Before aPOSTorPATCH, call the model's/metaendpoint for that Linked Account. It returns the exact required and optional fields for that integration. See Programmatic Writes with /meta. - Build the body programmatically. Populate your request from the meta response so it adapts to whatever the integration demands. No per-platform branching in your code.
- Submit the write.
POSTto create orPATCHto update. See Making Writes. - Use nested writes when relations exist. Create a record and its related records in a single request. See Related and Nested Writes.
- Test in Postman first. Validate the shape before wiring it into your app. See Postman Testing Guide.
Key idea
The /meta endpoint is what makes one code path work across every integration in a category. The required fields vary by platform and by Linked Account; meta tells you the truth at request time.