Me & profile updates
Read and edit the key owner's account.
/api/v1/meEverything from Get a profile plus email, api_visible and key (the key's scopes and rate limit).
/api/v1/me/profileBody (JSON, all optional)
display_namebodystringUp to 32 characters.
biobodystringUp to 300 characters and 10 lines.
locationbodystringUp to 40 characters.
accent_colorbodystring#rrggbb
text_colorbodystring#rrggbb
background_colorbodystring#rrggbb
curl -X PATCH "https://injuri.ng/api/v1/me/profile" \
-H "Authorization: Bearer $INJURING_KEY" \
-H "Content-Type: application/json" \
-d '{"bio":"now playing: something good","accent_color":"#ff4d6d"}'profile:write scope. Unknown fields are rejected, so typos fail loudly instead of being ignored./api/v1/me/analyticsViews, likes and social counts for your profile. Needs analytics:read.
/api/v1/me/linkscurl -X POST "https://injuri.ng/api/v1/me/links" \
-H "Authorization: Bearer $INJURING_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"my music","url":"https://example.com"}'PATCH /me/links/{id} takes the same fields; DELETE /me/links/{id} removes one. Needs links:write.
/api/v1/me/postscurl -X POST "https://injuri.ng/api/v1/me/posts" \
-H "Authorization: Bearer $INJURING_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"hello from the API"}'DELETE /me/posts/{id} removes one of your posts. Needs social:write.
Webhooks
Get a signed POST when something happens: follow.created, comment.created, profile.liked, post.liked, post.replied, post.mentioned, message.received. Each request carries X-Injuring-Event and X-Injuring-Signature (sha256= HMAC of the body with your webhook secret). Webhooks turn off after 10 failed deliveries in a row.
still stuck? try troubleshooting or open a ticket in our discord, we reply fast.
