# Getting Company ID from a form response

## post by Kelvin_Kautzer13 on Jan 21, 2025

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.

## post by allene on Jan 22, 2025

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](https://docs.copilot.app/reference/getting-started-introduction)
