Get user "suspension" status via API

Is there any way to get a user’s “suspended” status via the API? I can’t find anything in the docs, I don’t see a specific XHR request that grabs this :wink: and I don’t see that field the user record when I just get the whole user object (though I do see suspended and muted flags).

I’m not following. What are you looking for? The suspension sentence text?

I believe you want to look at suspend_reason and suspended_till fields. If they are set, it means the user is suspended.

6 Likes

Whoops - typo on my part. But I see now the fields I need, from @arkshine.

3 Likes