# Connecting to StealthSeminar via Webhook

**URL:** <https://community.activepieces.com/t/connecting-to-stealthseminar-via-webhook/4012>\
**Category:** Need help\
**Created:** [May 3, 2024, 1:28pm UTC](https://community.activepieces.com/t/connecting-to-stealthseminar-via-webhook/4012 "2024-05-03T13:28:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hisashi](https://community.activepieces.com/user_avatar/community.activepieces.com/hisashi/32/1184_2.png) [@Hisashi](https://community.activepieces.com/u/Hisashi)\
**Post date:** [May 3, 2024, 1:28pm UTC](https://community.activepieces.com/t/connecting-to-stealthseminar-via-webhook/4012/1 "2024-05-03T13:28:26Z")

</div>

I am trying to use Webhook to connect StealthSeminar to ActivePieces, but it is not working.

Has anyone been able to make this happen?

Specifically, when StealthSeminar sends data via Webhook, it seems to send the challenge code in JSON format, but ActivePieces needs to return it in text format, not JSON format.

However, ActivePieces does not seem to support responses in text format.

---

<div class="post-metadata">

**Author:** ![NotMy1RealName](https://community.activepieces.com/user_avatar/community.activepieces.com/notmy1realname/32/2949_2.png) [@NotMy1RealName](https://community.activepieces.com/u/NotMy1RealName)\
**Post date:** [May 5, 2024, 3:25am UTC](https://community.activepieces.com/t/connecting-to-stealthseminar-via-webhook/4012/2 "2024-05-05T03:25:32Z")

</div>

> [@Hisashi](#):
>
> StealthSeminar

The image you shared in Discord.

 ![CleanShot_2024-05-03_at_14.35.362x](https://community.activepieces.com/uploads/default/original/2X/3/3cc0e7edb2f0114a352f9266edc0deff0eba687c.png)

API docs: [StealthSeminar API Reference](https://docs.stealthseminarapp.com/?javascript--browser#creating-a-webhook-endpoint)

Would this not be the appropriate response based on the example? You have to send this response FIRST to establish the endpoint before you can use the StealthSeminar API, no?

 ![image](https://community.activepieces.com/uploads/default/original/2X/7/756a9ae84893460025d6cb56dcf1532097998bc5.jpeg)

---

<div class="post-metadata">

**Author:** ![Hisashi](https://community.activepieces.com/user_avatar/community.activepieces.com/hisashi/32/1184_2.png) [@Hisashi](https://community.activepieces.com/u/Hisashi)\
**Post date:** [May 5, 2024, 8:47am UTC](https://community.activepieces.com/t/connecting-to-stealthseminar-via-webhook/4012/3 "2024-05-05T08:47:57Z")

</div>

I understand what StealthSeminar is saying.  
However, they are saying that they need to respond in text format, but ActivePieces only seems to support responses in JSON format.  
We believe this is the problem here.

---

<div class="post-metadata">

**Author:** ![NotMy1RealName](https://community.activepieces.com/user_avatar/community.activepieces.com/notmy1realname/32/2949_2.png) [@NotMy1RealName](https://community.activepieces.com/u/NotMy1RealName)\
**Post date:** [May 5, 2024, 9:45pm UTC](https://community.activepieces.com/t/connecting-to-stealthseminar-via-webhook/4012/4 "2024-05-05T21:45:31Z")

</div>

> [@Hisashi](#):
>
> ActivePieces only seems to support responses in JSON format.

I think I understand.

Wouldn’t you just add content-type: text/plain into a header to change the payload from JSON to Text?

 ![image](https://community.activepieces.com/uploads/default/original/2X/f/f3c7dbababe97cb998ce7c8435961f60e91005a2.jpeg)

EDIT:

After sitting and thinking about this I went looking for other options. Someone else posted about this:

[Stealth Webinar Webhook Challenge in PHP](https://timberwebdesign.com/solution-to-the-stealth-seminar-api-webhook-error/)

Maybe this could be done using the Code Piece instead of the HTTP Piece to autheticate the webhook that first time?

---

<div class="post-metadata">

**Author:** ![system](https://community.activepieces.com/uploads/default/original/1X/f3af8cd75e0cc52ac7f19a3b45663ce0396f5016.png) [@system](https://community.activepieces.com/u/system)\
**Post date:** [May 20, 2024, 9:46pm UTC](https://community.activepieces.com/t/connecting-to-stealthseminar-via-webhook/4012/5 "2024-05-20T21:46:24Z")

</div>

Closed on May 20, 2024, 9:46pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
