Here is a cool article for exactly what our looking for:
local TextService = game:GetService("TextService")
local filteredText = "hello world"
local success, errorMessage = pcall(function()
filteredTextResult = TextService:FilterStringAsync(filteredText, fromPlayerId)
end)
if not success then
-- text will be filtered
else
-- text will no be filtered
end
I took a look and there is no real web API for this although you can recreate it with Roblox’s docs Develop Api
All you’d have to do is use PATCH /v2/places/{placeId} with the placeId and set the description to whatever the user has in their message through the description and the name can be something like “Filtering Test” on an alternative account.
I do HIGHLY recommend making this on an alternative account since if a user purposefully uses a censored word then well your account may be moderated.