Applications
Update Application
Attach or update integration metadata on a form submission
PATCH
Update Application
Updates themetadata on an existing application. metadata is a free-form key/value object for your own integration data — Gomry never interprets these keys. Use it to tag applications with anything your system needs: a cohort, an external funnel stage, a CRM record ID.
Required scope: applications:write
The application’s internal status (Draft, Pending, Accepted, Rejected) is not writable through this endpoint — it drives acceptance/rejection emails and list membership inside Gomry. Track your own funnel stages as keys inside metadata instead.
Path Parameters
The unique identifier of the application.
Request Body
The body uses strict validation: onlymetadata is accepted, and any other field is rejected with a 400 error.
Key/value pairs to merge onto the application’s existing metadata. Keys you don’t include are left untouched. Set a key’s value to
null to remove that key. Keys are client-defined and never interpreted by Gomry.Merge behaviour
EachPATCH merges — it does not replace the whole bag. To keep a changelog, read the current value, append, and write it back:
Response
Returns the updated application, including itsmetadata and history (the internal status change log — see Get Application).
The updated application object (same schema as List Applications, plus
history).