Forum Discussion

Luca3's avatar
Luca3
New Member
5 years ago

Webhook api issue

Hi,

i have issue when i try to create a webhook:

 

https://api.getgo.com/G2W/rest/v2/webhooks/secretkey

Body:

[
	{
	 "callbackUrl":"https://en6rn426ynnfv.x.pipedream.net",
	 "eventName":"registrant.added",
	 "eventVersion":"1.0.0",
	 "product":"g2w"
	}
]

Response body:

{
    "errorId": "9f2a2fd8-a9d4-4d51-81b2-7bf74d40e3eb",
    "requestId": null,
    "timeStamp": 1595228850834,
    "reason": "AccessDenied",
    "status": 403,
    "error": "Forbidden",
    "exception": "org.springframework.security.access.AccessDeniedException",
    "details": [
        {
            "field": "org.springframework.security.access.AccessDeniedException",
            "details": "Access to the requested resource is denied."
        }
    ]
}