Creates a record of the given object type. Pass the object's field values as additional top-level inputs, e.g. { sobject: "Account", Name: "Acme" }.
Required scopes: api.
643 matches
3 actions
Salesforce
3 actions
CRM/Salesforce
Creates a record of the given object type. Pass the object's field values as additional top-level inputs, e.g. { sobject: "Account", Name: "Acme" }.
Required scopes: api.
{
"type": "object",
"properties": {
"sobject": {
"type": "string",
"description": "API name of the object to create, e.g. `Account`, `Contact`, or a custom object like `Invoice__c`."
}
},
"required": [
"sobject"
],
"additionalProperties": true
}{
"type": "object",
"required": [
"id",
"success"
],
"properties": {
"id": {
"type": "string",
"description": "Id of the created record."
},
"success": {
"type": "boolean",
"description": "True when the record was created."
},
"errors": {
"type": "array",
"description": "Field or validation errors when creation failed.",
"items": {
"type": "object"
}
}
}
}