Skip to main content
Answer

is_spammer field not returned from get contact api call

  • March 1, 2023
  • 1 reply
  • 202 views

Forum|alt.badge.img

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

Forum|alt.badge.img+5

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!