# User Registered Webhook

This event is triggered when a new user registers for an account

To subscribe to this webhook, please set up a URL endpoint capable of receiving POST requests.

### Request Details

The request will POST a JSON payload that conforms to the following Typescript interface:

```typescript
export interface UserRegisteredWebhookPayload {
    name: string;
    email: string;
    objectId: string;
    subPortalId?: string;
    usergroups: string[];
    timeRegistered: string;
    customAttributes: Record<string, unknown>;
    preferences?: UserPreferences;
    previousValues: PreviousValues;
  }

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.synap.ac/doc/integrations/webhooks/user-registered-webhook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
