Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.snipp.gg/llms.txt

Use this file to discover all available pages before exploring further.

Block a user by ID.

Behavior

  • Blocking is bidirectional in effect. Blocked users cannot see your posts or profile, and you cannot see theirs.
  • Blocking an already-blocked user succeeds without error.
  • You cannot block yourself.

Examples

curl -X POST "https://relay.snipp.gg/block" \
  -H "relay-key: YOUR_RELAY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"targetId": "123456789012345678"}'

Responses

{
  "blocked": true
}
Blocking an already-blocked user succeeds and includes a message:
{
  "blocked": true,
  "message": "User is already blocked."
}