Hi there,
Thanks for the feedback on the documentation. The wording is a little unclear. You can create a user by signing up for
Zengine. Then you can get an access token by going to the
developer section in Zengine. Using that access token, you can get information (like the id) about your newly created user by querying
https://api.zenginehq.com/v1/users/me. Once you have your user id and an access token, you can create your own API Client. This API Client can then be used to generate access tokens.
If you want to save multiple resources in one request, you can send a POST with an array of JSON objects in the request payload. For example, if you are inserting 3 records at once to the form 123, send a POST to
https://api.zenginehq.com/v1/forms/123/records with a request payload that looks something like this:
[
{
"field123": "record 1 - text input value 1",
"field456": "record 1 - text input value 2"
},
{
"field123": "record 2 - text input value 1",
"field456": "record 2 - text input value 2"
},
{
"field123": "record 3 - text input value 1",
"field456": "record 3 - text input value 2"
}
]
Hope that helps!
- Anna