Hello,
I'm using R to create deals through the Deals API. Here's a basic example of what I'm sending (Ignore R syntax, I've broken it out to make it easier to follow):
body<-
{
"properties": [
{
"value": "Testing",
"name": "dealname"
},
{
"value": "appointmentscheduled",
"name": "dealstage"
}
]
}
POST(paste("https://api.hubapi.com/deals/v1/deal?hapikey={my_apikey}),body)
I get a 200 response but don't see anything in Deals when I open Hubspot. My APP has Basic OAuth functionality and Contacts checked (I couldn't find a section that specifically was for Deals, so I'm assuming Contacts is correct). As an aside, I'm able to edit contacts with this API key so I know it connects.
Thanks for your help!