Skip to main content
Conversationalist
March 1, 2023
Solved

is_spammer field not returned from get contact api call

  • March 1, 2023
  • 1 reply
  • 263 views

I am noticing that the is_spammer field is not returned from calls to GET contacts/{contact_id}.

I am trying to add the ability to mark as spammer the contact from a plugin.

Im using a php backend and the response body does not include the is_spammer field.

Is there something I am doing wrong?

    Best answer by Support Engineering

    Hi Ian,

    It does appear that contacts are currently not returning the “is_spammer” field when you retrieve it via the API - I’ve written up a bug report about this behavior, thank you for bringing it to our attention!

    1 reply

    Community Manager
    March 1, 2023

    Hi Ian,

    It does appear that contacts are currently not returning the “is_spammer” field when you retrieve it via the API - I’ve written up a bug report about this behavior, thank you for bringing it to our attention!