Solved

is_spammer field not returned from get contact api call

  • 1 March 2023
  • 1 reply
  • 191 views

Badge

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?

icon

Best answer by Support Engineering 1 March 2023, 22:40

View original

1 reply

Userlevel 1
Badge +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!

Reply