/me/communication-settingssettingsReplace the caller's communication/presence dial (upsert; full representation)
Masks must combine only the known AUDIENCE bits (PUBLIC=1, HUB=2, TEAM=4, ORG=8, FRIEND=32); 0 means nobody. Blocks always override the dial, and appear_offline hides presence from everyone.
Auth: bearerAuth — calls run as the authenticated user.
application/json · optional
- dmAudienceMaskinteger
AUDIENCE bitmask of who may DM the user (0 = nobody; default PUBLIC|HUB = 3)
- presenceAudienceMaskinteger
AUDIENCE bitmask of who may see the user presence (0 = nobody; default PUBLIC|HUB = 3)
- appearOfflineboolean
When true, presence is hidden from EVERYONE regardless of the mask
{
"dmAudienceMask": 0,
"presenceAudienceMask": 0,
"appearOffline": true
}The saved communication dial
- dmAudienceMaskinteger
AUDIENCE bitmask of who may DM the user (0 = nobody; default PUBLIC|HUB = 3)
- presenceAudienceMaskinteger
AUDIENCE bitmask of who may see the user presence (0 = nobody; default PUBLIC|HUB = 3)
- appearOfflineboolean
When true, presence is hidden from EVERYONE regardless of the mask
{
"dmAudienceMask": 0,
"presenceAudienceMask": 0,
"appearOffline": true
}Error
- erroroptionalobject
{
"error": {
"message": "string",
"code": "string"
}
}Error
- erroroptionalobject
{
"error": {
"message": "string",
"code": "string"
}
}curl -X PUT "https://api.agenticdeveloperhub.com/me/communication-settings" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"dmAudienceMask": 0,
"presenceAudienceMask": 0,
"appearOffline": true
}'const res = await fetch("https://api.agenticdeveloperhub.com/me/communication-settings", {
method: "PUT",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: "{\n \"dmAudienceMask\": 0,\n \"presenceAudienceMask\": 0,\n \"appearOffline\": true\n}",
});
const data = await res.json();