Deel: Get my current personal profile
Deel people.getMyCurrentPersonalProfile: arguments, response, policy and SDK examples.
← People operations · Get started
Operation deel.people_getmycurrentpersonalprofile_v2026_01_01
Provider route: GET /people/me. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/deel with npm, or alter-sdk-deel with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { DeelIntegration } from "@alter-ai/deel";
async function execute(input: Parameters<DeelIntegration["people"]["getMyCurrentPersonalProfile"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new DeelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.people.getMyCurrentPersonalProfile(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_deel import DeelIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = DeelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.people.get_my_current_personal_profile(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Get my current personal profile — 200 response body |
Referenced models: Get my current personal profile — 200 response body
Schemas
Section titled “Schemas”Get my current personal profile — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | People object representing a Deel |
avatar_url | JSON | Optional | |
avatar_url (anyOf 1) | string | Alternative | URL of the user's avatar |
avatar_url (anyOf 2) | null | Alternative | URL of the user's avatar |
client_country | JSON | Optional | |
client_country (anyOf 1) | string | Alternative | Country code. Maximum length: 2 Minimum length: 2 Pattern: ^[A-Z]{2}$ |
client_country (anyOf 2) | null | Alternative | Country code. Maximum length: 2 Minimum length: 2 Pattern: ^[A-Z]{2}$ |
contractor_country | JSON | Optional | |
contractor_country (anyOf 1) | string | Alternative | Country code. Maximum length: 2 Minimum length: 2 Pattern: ^[A-Z]{2}$ |
contractor_country (anyOf 2) | null | Alternative | Country code. Maximum length: 2 Minimum length: 2 Pattern: ^[A-Z]{2}$ |
email | string | Optional | Email address of the user |
first_name | string | Optional | First name of the user |
full_name | string | Optional | Full name of the user |
hris_enabled | JSON | Optional | |
hris_enabled (anyOf 1) | boolean | Alternative | HRIS feature enabled. |
hris_enabled (anyOf 2) | null | Alternative | HRIS feature enabled. |
hris_organization_user_id | JSON | Optional | |
hris_organization_user_id (anyOf 1) | string | Alternative | HRIS Organization User ID of the user. Used in products like Deel Engage. Format: uuid |
hris_organization_user_id (anyOf 2) | null | Alternative | HRIS Organization User ID of the user. Used in products like Deel Engage. Format: uuid |
id | JSON | Optional | |
id (anyOf 1) | number | Alternative | Unique identifier for the user profile Format: double |
id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
last_name | string | Optional | Last name of the user |
middle_name | JSON | Optional | |
middle_name (anyOf 1) | string | Alternative | Middle name of the user |
middle_name (anyOf 2) | null | Alternative | Middle name of the user |
organization_id | JSON | Optional | |
organization_id (anyOf 1) | number | Alternative | Unique identifier for the organization Format: double |
organization_id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
organization_name | JSON | Optional | |
organization_name (anyOf 1) | string | Alternative | Name of the organization |
organization_name (anyOf 2) | null | Alternative | Name of the organization |
profile_type | string | Optional | Type of profile Known values: client, contractor, icp, direct_employee, hris_direct_employee, peo_employee, service_account |
slack_team_id | JSON | Optional | |
slack_team_id (anyOf 1) | string | Alternative | User's team slack id |
slack_team_id (anyOf 2) | null | Alternative | User's team slack id |
slack_user_id | JSON | Optional | |
slack_user_id (anyOf 1) | string | Alternative | User's slack id |
slack_user_id (anyOf 2) | null | Alternative | User's slack id |
user_id | JSON | Optional | |
user_id (anyOf 1) | number | Alternative | Unique identifier for the user Format: double |
user_id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
username | string | Optional | Username of the user |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: deel.people_getmycurrentpersonalprofile_v2026_01_01. Catalog operation: people_getmycurrentpersonalprofile_v2026_01_01. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Required provider scopes: ["worker:read", "people:read"]
Pinned headers: {"X-Version": "2026-01-01"}