Create a record
POST/query/:object
Adds one record and returns its new Id.
The body is a flat JSON object of field names and values. Only fields the administrator marked writable for this key may be set, and only fields the key's portal user may edit. A field outside either list is named in a 400 rather than quietly ignored, because a silently dropped field is how an integration appears to work while never setting the value somebody was watching.
One record per call. There are no arrays.
Request
Responses
- 201
- 400
- 401
- 403
- 429
Created. The only operation that does not answer 200.
The request could not be completed. The error field says what to change. A field the
key may not write, or the user may not edit, is named rather than silently dropped;
a validation rule in your own org is passed back word for word.
Not authorised. The Client ID is unknown, the Secret does not match, the key has been revoked, or the portal user is inactive — the answer is deliberately the same for all of them, so the endpoint cannot be used to work out which.
The object, or the operation on it, is not available to this key. The same answer is given whether the administrator never granted it or the portal user has since lost the permission, so refusals cannot be used to map out what was configured.
Too many requests this hour. Reads and writes have separate ceilings, counted per portal user over a rolling hour — 500 reads and 100 writes by default.
Response Headers
Seconds to wait before trying again.