> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Package: userManagement # Namespace: contributors # Webhook link: https://dev.wix.com/docs/api-reference/account-level/user-management/contributors/contributor-created.md ## Introduction Triggered when a contributor is created. --- ## REST API ### Schema ``` Webhook: Contributor Created Description: Triggered when a contributor is created. Event body: - name: id | type: string | description: Unique event ID. Allows clients to ignore duplicate events. - name: entityFqdn | type: string | description: Fully qualified domain name of the entity associated with the event. - name: slug | type: string | description: Event name. - name: entityId | type: string | description: ID of the entity associated with the event. - name: eventTime | type: string (date-time) | description: Event timestamp. - name: triggeredByAnonymizeRequest | type: boolean | description: Whether the event was triggered as a result of a privacy regulation application such as GDPR. - name: originatedFrom | type: string | description: If present, indicates the action that triggered the event. - name: createdEvent | type: object | description: Created event details. - name: entity | type: Contributor | description: The created entity. - name: metaData | type: PersonMetaData | description: Contributor's metadata, including account GUID, name, email, and role assignments. - name: id | type: string | description: Contributor's account GUID. - name: fullName | type: string | description: Contributor's full name. - name: imageUrl | type: string | description: URL for contributor's profile image. - name: email | type: string | description: Contributor's email address. - name: assignments | type: array | description: Contributor's role assignments, mapping their access to site assets and their assigned roles. - name: policy | type: AssignedPolicy | description: Role assigned to the user. - name: policyId | type: string | description: Role GUID. - name: title | type: string | description: Role title. - name: description | type: string | description: Role description. - name: assignmentId | type: string | description: Unique GUID for this specific assignment. - name: subject | type: Subject | description: Identity assigned to the asset in an assignment, referred to as subject. Supported subjects include user GUIDs, account GUIDs, and app GUIDs. - name: id | type: string | description: GUID of identity assigned to the asset. - name: subjectType | type: SubjectType | description: Type of identity assigned to the asset. Supported subject types include user GUIDs, account GUIDs, and app GUIDs. - enum: UNKNOWN, ACCOUNT, USER, USER_GROUP, MEMBER_GROUP, VISITOR_GROUP, EXTERNAL_APP, ACCOUNT_GROUP, WIX_APP - name: context | type: SubjectContext | description: Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. - name: id | type: string | description: - name: contextType | type: SubjectContextType | description: - enum: UNKNOWN_CTX, ORG_CTX, ACCOUNT_CTX - name: isTeam | type: boolean | description: Whether the contributor account is a team account. - name: joinedAt | type: string | description: Date that the contributor joined the site. - name: invitedEmail | type: string | description: Email address that received the invite. - name: isClient | type: boolean | description: Whether the contributor account is a client account. - name: id | type: string | description: Contributor's user GUID. - name: callerCapabilities | type: array | description: A set of capability keys representing the actions that the caller is allowed to perform on this specific contributor. This field is calculated based on the identity of the request sender and may differ between callers. ``` ### Examples ```curl { "id": "52269077-05f2-4b59-ba4f-36ef8c4c1e11", "entityFqdn": "wix.identity.v1.contributor", "slug": "created", "entityId": "d7a341c4-196b-46e7-813c-2b0fc1847ec6", "createdEvent": { "entityAsJson": "{\"contributor\":{\"id\":\"d7a341c4-196b-46e7-813c-2b0fc1847ec6\",\"metaData\":{\"id\":\"fed9597b-00a1-4bd6-9f3d-aff2ec248e7a\",\"fullName\":\"Jane Cooper\",\"imageUrl\":\"https://static.wixstatic.com/media/abcd1234.jpg\",\"email\":\"jane.cooper@example.com\",\"assignments\":[{\"roleId\":\"6600344420111308827\",\"assignmentId\":\"7261756085891267597\"}]},\"isTeam\":false,\"joinedAt\":\"2026-05-07T10:30:00.000Z\",\"invitedEmail\":\"jane.cooper@example.com\",\"isClient\":false}}" }, "eventTime": "2026-05-07T10:30:00.304800Z", "triggeredByAnonymizeRequest": false } ``` --- ## JavaScript SDK ### Schema ``` Webhook: onContributorCreated Description: Triggered when a contributor is created. Payload: ContributorCreatedEnvelope - name: entity | type: Contributor | description: none - name: metaData | type: PersonMetaData | description: Contributor's metadata, including account GUID, name, email, and role assignments. - name: _id | type: string | description: Contributor's account GUID. - name: fullName | type: string | description: Contributor's full name. - name: imageUrl | type: string | description: URL for contributor's profile image. - name: email | type: string | description: Contributor's email address. - name: assignments | type: array | description: Contributor's role assignments, mapping their access to site assets and their assigned roles. - name: policy | type: AssignedPolicy | description: Role assigned to the user. - name: policyId | type: string | description: Role GUID. - name: title | type: string | description: Role title. - name: description | type: string | description: Role description. - name: assignmentId | type: string | description: Unique GUID for this specific assignment. - name: subject | type: Subject | description: Identity assigned to the asset in an assignment, referred to as subject. Supported subjects include user GUIDs, account GUIDs, and app GUIDs. - name: _id | type: string | description: GUID of identity assigned to the asset. - name: subjectType | type: SubjectType | description: Type of identity assigned to the asset. Supported subject types include user GUIDs, account GUIDs, and app GUIDs. - enum: UNKNOWN, ACCOUNT, USER, USER_GROUP, MEMBER_GROUP, VISITOR_GROUP, EXTERNAL_APP, ACCOUNT_GROUP, WIX_APP - name: context | type: SubjectContext | description: Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. - name: _id | type: string | description: - name: contextType | type: SubjectContextType | description: - enum: UNKNOWN_CTX, ORG_CTX, ACCOUNT_CTX - name: isTeam | type: boolean | description: Whether the contributor account is a team account. - name: joinedAt | type: Date | description: Date that the contributor joined the site. - name: invitedEmail | type: string | description: Email address that received the invite. - name: isClient | type: boolean | description: Whether the contributor account is a client account. - name: _id | type: string | description: Contributor's user GUID. - name: callerCapabilities | type: array | description: A set of capability keys representing the actions that the caller is allowed to perform on this specific contributor. This field is calculated based on the identity of the request sender and may differ between callers. - name: metadata | type: EventMetadata | description: none - name: instanceId | type: string | description: App instance GUID. - name: eventType | type: string | description: Event type. - name: identity | type: IdentificationData | description: The identification type and identity data. - ONE-OF: - name: anonymousVisitorId | type: string | description: GUID of a site visitor that has not logged in to the site. - name: memberId | type: string | description: GUID of a site visitor that has logged in to the site. - name: wixUserId | type: string | description: GUID of a Wix user (site owner, contributor, etc.). - name: appId | type: string | description: GUID of an app. - name: identityType | type: WebhookIdentityType | description: - enum: UNKNOWN, ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP - name: accountInfo | type: AccountInfo | description: Details related to the account - name: accountId | type: string | description: GUID of the Wix account associated with the event. - name: parentAccountId | type: string | description: GUID of the parent Wix account. Only included when accountId belongs to a child account. - name: siteId | type: string | description: GUID of the Wix site associated with the event. Only included when the event is tied to a specific site. - name: _id | type: string | description: Event GUID. With this GUID you can easily spot duplicated events and ignore them. - name: entityFqdn | type: string | description: Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. - name: slug | type: string | description: Event action name, placed at the top level to make it easier for users to dispatch messages. For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. - name: entityId | type: string | description: GUID of the entity associated with the event. - name: eventTime | type: Date | description: Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. - name: triggeredByAnonymizeRequest | type: boolean | description: Whether the event was triggered as a result of a privacy regulation application (for example, GDPR). - name: originatedFrom | type: string | description: If present, indicates the action that triggered the event. - name: entityEventSequence | type: string | description: A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number. You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. ``` ### Examples ```javascript import { contributors } from '@wix/user-management'; contributors.onContributorCreated((event) => { // handle your event here }); ``` ```javascript import { createClient, AppStrategy } from '@wix/sdk'; import { contributors } from '@wix/user-management'; const wixClient = createClient({ auth: AppStrategy({ appId: 'MY-APP-ID', publicKey: 'YOUR_APP_PUBLIC_KEY', }), modules: { contributors, }, }); wixClient.contributors.onContributorCreated((event) => { // handle your event here }); ``` ---