Create New Filed In Api Call

Hi,

I have created new inputs in Vendor-->vendor--> add-ons, in the API call GET /api/vendors/10 I would like to get the fields. Like so:

{
"company_id": "10",
"lang_code": "de",
"email": "service@gmail.com",
"company": "Company Direkt",
"timestamp": "1586946487",
"status": "A",
"seo_name": "Company-direk",
"seo_path": "",
"my_new_filed": "new filed data", <---- as an example
"average_rating": null,
"company_thread_ids": "10_0",
"discussion": {
"posts_count": 0
}
}
Is any one know how to do this?
Thanks

ok nevermind I find the hook get_companies