How can I get forecast amount from Deals API?

Hi!

How can I get forecast amount from Deals API and which value I will see on the return response body?

Hi,
to get forecast amount from Deal API, you need to use this endpoint :

https://api.hubapi.com/crm/v3/objects/deals/<id_deal>?properties=hs_forecast_amount

by remplacing <id_deal> with your id deal
and here is the form of the answer

{
	"id": "<id_deal>",
	"properties": {
		"createdate": "2022-09-13T08:17:24.189Z",
		"hs_forecast_amount": "1400.0",
		"hs_lastmodifieddate": "2022-12-21T14:56:42.076Z",
		"hs_object_id": "<id_deal>"
	},
	"createdAt": "2022-09-13T08:17:24.189Z",
	"updatedAt": "2022-12-21T14:56:42.076Z",
	"archived": false
}

But be carefull, if the properties setting is in URL, you need to specify all properties you want.