Back to all

Error create webhook target

Greetings Team,

Error creating webhook target. Seems this may be simple; however, I cannot pin down. Some values hidden for security reasons (do not believe they contribute to the error). My PAT token is functioning normally, as I can make other API calls. Please advise.

URL: https://api.maximizer.com/webhooks/v1/targets

METHOD: POST

REQUEST BODY:

{
"Name": "Create Individual From Lead - Open",
"Enabled": true,
"Endpoint": {
"Url": "https://examplehost.com:8443/api/crm/dta/wh/submission/default.aspx?action=createindividualfromlead&rating=open",
"Headers": [
{
"name": "X-CRM-API-CMS-USER",
"value": "examplecmsuser"
},
{
"name": "X-CRM-API-CODE",
"value": "exampleapicode"
},
{
"name": "X-CRM-API-CRM-USER",
"value": "examplecrmuser"
},
{
"name": "X-CRM-API-TOKEN",
"value": "exampletoken"
}
]
}
}

RESPONSE:

The remote server returned an error: (400) Bad Request. {"Type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","Title":"Backend error","Status":400,"Detail":"The backend server replied with an unsuccessful status code","Instance":"0HNEAV48KLIRI:00000002","Extensions":{}} (654)

Onward, Upward,

Joe