I want to connect ActiveCampaign with Thrivecart. The goal is to automatically unlock a course in Thrivecart upon someone signing up through a form in AC.
The trigger works to my full satisfaction.
However, the action step is causing issues. I must admit, I’m not yet very proficient with APIs.
You’re currently passing the parameters in Query Params, but the documentation specifies using form data. We only support sending data in the body (type JSON).
However, I have a workaround , Add Code piece then click on ASK AI to generate code.
Copy the following prompt:
Send a POST request to https://thrivecart.com/api/external/students, use fetch, pass the bearer token in the header. For the body, it's form data; fill in the email, course_id, and name.