Menu
Get My Attributes
Get My Attributes
GET
/v2026-04-27/organizations/{organizationId}/users/me/attributesUse it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Get My Attributes action (under User Attributes).
- Fill in the fields below, then reference the result from later steps as
{{getMyAttributes.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getMyAttributes.response.data.<field>}}.
{
"sanityUserId": "user-xyz",
"organizationId": "org-123",
"attributes": [
{
"type": "string",
"key": "location",
"values": {
"saml": "US",
"sanity": "UK"
},
"activeSource": "saml",
"activeValue": "UK"
}
]
}
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?