Skip to main content

When using create_update api, if it contain images, then html code also displaying

  • January 31, 2024
  • 3 replies
  • 303 views

when using create_update api, if it contain images, then html code also displaying

3 replies

rachelatmonday
Forum|alt.badge.img
  • monday.com Team Member
  • January 31, 2024

Hi @fahad.s,

Welcome to the community!

Can you please share the full mutation you’re using?

Best,
Rachel


  • Author
  • New Participant
  • February 7, 2024

var messageBody = JSON.stringify(message.getBody());

    url = `https://api.monday.com/v2`;
    let query = `mutation { create_update  (item_id: ${recordId}, body: ${messageBody} ) { id }}`;

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • February 7, 2024

Hello there @fahad.s,

And can you please share an example of the messageBody that you are using, what you are seeing in the update and what you are expecting?

Looking forward to hearing from you 🙂

Cheers,
Matias