API v3 fails to insert multiple records

Good afternoon, everyone!I can’t use API v3 to insert multiple records in one post request. If you insert only one record, then everything goes well.I ask for your help.
p.s I work with a mysql database

Hi @OVERS1ZZEEEE

Please see our API documentation for the request payload your input is not correct.

You can use following as a starting place:

[
  {
    "fields": {
      "client": 1,
      "department": "record #1"
    }
  },
  {
    "fields": {
      "client": 2,
      "department": "record #2"
    }
  }
]

Note that, you should avoid providing ID and you should pass an array of records.

1 Like

Thank you very much! Have a nice day!

1 Like