API – Add a Record

action – add

To add a record, pass the action add, specify the recordtype, and send an array of one or more values to editable fields only. If the recordtype has required fields, the call will fail if these are not specified in the values.

The response includes the recordid of the newly created record.

Sample Request

{ "account": *** your account id ***, "apikey": "*** your api key ***", "action": "add", "recordtype": "person", "values": { "FirstName": "Darth", "LastName": "Vader", "Email": "darth.vader@deathstar.com" } }

Sample Response

{ "success": true, "recordid": 666 }