Update Multiple Fields
Set custom field values across media. Scope with folderId (all media in a folder) and/or mediaIds (specific files). Each fields entry is { id, value }.
Request rules. Send either folderId, where an empty string counts, or a non-empty mediaIds array. Send neither and the request returns 400.
When nothing changes. The endpoint compares every value against what the media already holds and writes only the differences. If no media matches your scope, or every entry you sent was dropped or already stored, the response is still 200 and its message reads No field values changed. Nothing else happens in that case: no field_updated automation runs, and no notification is raised. A request that does change something answers Field Values are updated successfully instead.
Request
- Base URL: https://api.speakai.co/v1
- URL: https://api.speakai.co/v1/fields/batch
- Auth: API key in header x-speakai-key and API key in header x-access-token
Request body
Response
Success
Changes
No recorded changes to this operation across all 2 revisions of this API.