cURL
curl --request POST \ --url https://api.snipp.gg/block \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data ' { "targetId": "<string>" } '
{ "blocked": true, "message": "<string>" }
Block a user by their ID. Blocked users cannot view your profile, posts, or interact with your content. You also cannot view theirs. Idempotent — blocking an already-blocked user succeeds.
Your API key from Snipp.gg
The user ID to block
Block status