Getting Company ID from a form response

When I get clientId in the response when a client completes a form, how can I match that client to their company? Ideally I’d get a companyID in the response of form completion.

You’ll have to make an additional request for the client when you get a form response payload. formResponse.clientId can be used in the ‘Retrieve client’ endpoint and that returns a companyId. You can then use this in the ‘Retrieve company’ endpoint.

You can review our API reference here :slightly_smiling_face: