Members

Modify accomplishments

Award or revoke an achievement (XP role) for a community member. Admin role required.

post/v1/communities/{communityId}/members/{memberId}/accomplishments

Request

  • Base URL: https://api.subo.ai
  • URL: https://api.subo.ai/v1/communities/{communityId}/members/{memberId}/accomplishments
  • Auth: API key in header X-API-Key

Path parameters

communityIdstring required

Community ID (Discord guild snowflake, serialized as string)

memberIdstring required

Subo internal user ID

Request body

operation'award' | 'revoke' required

award — grant the achievement; revoke — remove it

achievement_idinteger required

ID of the XP role / achievement to award or revoke

Response

Accomplishment updated

Changes

No recorded changes to this operation across all 1 revision of this API.