cURL
curl --request PATCH \ --url https://api.offlineprotocol.com/api/v1/profiles/{username}/socials \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "socials": { "x": "https://x.com/example" }, "about": "About me text" } '
{ "data": { "profile": { "username": "<string>", "about": "<string>", "socials": { "x": "<string>", "telegram": "<string>", "website": "<string>", "discord": "<string>" }, "location": { "latitude": 123, "longitude": 123 }, "hidden": false } } }
Updates user’s social media links and about section.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The username of the profile
Show child attributes
{ "x": "https://x.com/example" }
"About me text"
Profile updated successfully