PUT
/
feeds
/
text
/
{text_feed_id}
curl --request PUT \
  --url https://api.feedspace.io/v3/feeds/text/{text_feed_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'fs-workspace-id: <fs-workspace-id>' \
  --data favourite=1
{
  "message": "Review updated successfully",
  "data": {
    "id": 9773,
    "unique_feedback_id": "6cZMP8",
    "public_url": "https://www.feedspace.io/f/6cZMP8",
    "comment": "Cool Product !!",
    "favourite": true,
    "created_at": "2025-04-04T13:48:25.000000Z",
    "feed_fields": {
      "name": "Anonymous",
      "profile_pic_url": null,
      "position": null,
      "organization_name": null,
      "consent": null
    },
    "feed_form": {
      "name": "Test Review Form",
      "unique_form_id": "form_MbgOEoTSlvsjYg8wN7NTZ1fg",
      "public_url": "https://www.feedspace.io/u/cGdkixR"
    },
    "question_answers": [
      {
        "feed_form_question_id": 30062,
        "question_type": 1,
        "question_text": "name",
        "default_value": "",
        "question_label": "",
        "mandatory": 0,
        "answer": null,
        "placeholder": "Name"
      },
      {
        "feed_form_question_id": 30063,
        "question_type": 1,
        "question_text": "email",
        "default_value": "",
        "question_label": "",
        "mandatory": 0,
        "answer": null,
        "placeholder": "Email"
      },
      {
        "feed_form_question_id": 30064,
        "question_type": 4,
        "question_text": "consent",
        "default_value": "",
        "question_label": "I hereby grant permission to share this review with others.",
        "mandatory": 0,
        "answer": "1",
        "placeholder": "Consent"
      }
    ],
    "extra_details": null
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

fs-workspace-id
string
required

Workspace unique ID

Path Parameters

text_feed_id
string
required

Text feed ID

Body

application/x-www-form-urlencoded

Favourite status (1 to add, 0 to remove)

The body is of type object.

Response

200 - application/json

Favourite status updated successfully.

The response is of type object.

PUT
/
feeds
/
text
/
{text_feed_id}
curl --request PUT \
  --url https://api.feedspace.io/v3/feeds/text/{text_feed_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'fs-workspace-id: <fs-workspace-id>' \
  --data favourite=1
{
  "message": "Review updated successfully",
  "data": {
    "id": 9773,
    "unique_feedback_id": "6cZMP8",
    "public_url": "https://www.feedspace.io/f/6cZMP8",
    "comment": "Cool Product !!",
    "favourite": true,
    "created_at": "2025-04-04T13:48:25.000000Z",
    "feed_fields": {
      "name": "Anonymous",
      "profile_pic_url": null,
      "position": null,
      "organization_name": null,
      "consent": null
    },
    "feed_form": {
      "name": "Test Review Form",
      "unique_form_id": "form_MbgOEoTSlvsjYg8wN7NTZ1fg",
      "public_url": "https://www.feedspace.io/u/cGdkixR"
    },
    "question_answers": [
      {
        "feed_form_question_id": 30062,
        "question_type": 1,
        "question_text": "name",
        "default_value": "",
        "question_label": "",
        "mandatory": 0,
        "answer": null,
        "placeholder": "Name"
      },
      {
        "feed_form_question_id": 30063,
        "question_type": 1,
        "question_text": "email",
        "default_value": "",
        "question_label": "",
        "mandatory": 0,
        "answer": null,
        "placeholder": "Email"
      },
      {
        "feed_form_question_id": 30064,
        "question_type": 4,
        "question_text": "consent",
        "default_value": "",
        "question_label": "I hereby grant permission to share this review with others.",
        "mandatory": 0,
        "answer": "1",
        "placeholder": "Consent"
      }
    ],
    "extra_details": null
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

fs-workspace-id
string
required

Workspace unique ID

Path Parameters

text_feed_id
string
required

Text feed ID

Body

application/x-www-form-urlencoded

Favourite status (1 to add, 0 to remove)

The body is of type object.

Response

200 - application/json

Favourite status updated successfully.

The response is of type object.