Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

197
Views
Don't receive Trello Webhook response

I have build an api-function for a trello webhook.

export default function handler(req, res) {
  if (req.method == "POST") {
    value = req.body;
    res.status(200).json("Ok");
    initalBoardID = value.model.id;
    value = value.action;
    type = value.type;
    translationKey = value.display.translationKey;
    if (
      type == "addMemberToCard" &&
      translationKey == "action_member_joined_card"
    ) {
      member = value.display.entities.member.id;
      createCard();
    }
  } else {
    res.status(200).json("Function works");
  }
}

If I use Postman this function works fine. But Trello doesn't send any webhook tho this function.

The URL has an SSL certificate and an https protocol.

How can I update this function that Trello send a webhook tho this function?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!