I would like to know where is the infusionsoft sandbox API endpoint, the url of my sandbox is https://gn389.infusionsoft.com, and i need to use OAuth for testing. Can anyone, please, help me?
Hi John, i saw your video, but i am getting an error, Invalid Client.
Youâve registered for Mashery account, have your client id and secret and verified that the account status is not âpendingâ?
Hi John, i am sorry for been so late to answer, thanks for your help, i have advance, right now i have a problem with a REST hook creation, i am getting {âmessageâ:âInput could not be converted to a valid requestâ}, this is the code:
headers = {
âAcceptâ: âapplication/json, /â,
âAuthorizationâ: âBearer {0}â.format(request.session[âaccess-tokenâ])
}
data = {
"eventKey": str(hook_selected),
"hookUrl": str(HOOKURL)
}
response = requests.post("https://api.infusionsoft.com/crm/rest/v1/hooks",
headers=headers,
params=data)
@Nerio_Rincon That specific error typically happens if you send us invalid json payloads. Can you paste what the actual payload across the wire looks like?
1 Like