Flodesk API

You’re an absolute legend Levin! Thanks so much. I updated according to the first image you provided and it worked. The second step wasn’t required. :grinning:

I have another question if you don’t mind. I am trying to add subscribers to a certain segment but it’s not posting.

What I’ve tried that returns a 400 error

  • Updating the URL to “https://api.flodesk.com/v1/subscribers/{id_or_email}/segments” I use the variables to update the id and paste the segment id #

What I’ve tried that returns a 200 success but doesn’t add the subscriber to the segment

  • Adding id and segment_ids in the parameters
  • Adding id and segment_ids in the Headers
  • Adding the following in the Request Content
{
"segments": [
  {
    "id": "xxxxxxx",
    "name": "Test Product"}],
"custom_fields": {
  "test_cf": "yes",
}

First Image: Set-Up → Second Image: Results