Integration Api with PHP

Hi everyone i try to find a method to add a record deal into pipelines/deals using API key with PHP.

I read the documentation but i can´t find the answer.

Hey @Luciano1368,

When looking to create a deal via PHP using HubSpot APIs, you can use the following API - CRM API | Deals and/or explore this github - GitHub - HubSpot/hubspot-php: HubSpot PHP API Client.

Hope this helps!

I read the documentation, but it doesn´t work for me. I need create a pipeline/deal/deal-record with php APIs. The record inside the email field (CampoPrueba1) it´s one of the many i need to create with these method.

Hey @Luciano1368,

Using the CRM API | Deals endpoint, specifically the

POST /crm/v3/objects/deals with an example POST body:

{
 "properties": {
 "pipeline": "528ebb34-2cb6-4fdc-8cf7-ba11f23642f2",
 "dealstage": "1727a8b0-2258-43de-99bd-b6b4122abba5",
 "dealname": "test aug"
 }
}

You would be able to achieve the end goal that you shared.