---
title: "Post Registration Create User And Org"
method: POST
path: "/v1/auth/post-registration"
tags: ["auth"]
---

# Post Registration Create User And Org

`POST /v1/auth/post-registration`

Perform actions after a user registers for the first time through Auth0.

For email+password registration, this is a "Post-Registration" flow.
For external services (google, github...) and Logins, it's a "Post-Login" flow and gets called every time.

## Headers

- `auth0rization` string

## Request body

- Auth0PostRegistrationRequest
  - `user_id` string, required
  - `email` string, required
  - `picture` string, nullable
  - `email_verified` boolean, nullable
  - `given_name` string, nullable
  - `family_name` string, nullable
  - `name` string, nullable
  - `phone_number` string, nullable
  - `phone_verified` boolean, nullable
  - `nickname` string, nullable
  - `created_at` string, nullable
  - `app_metadata` Auth0PostRegistrationAppMetadata
    - `terms_accepted_at` string, date-time, nullable
    - `privacy_accepted_at` string, date-time, nullable
  - `extra_info` object, nullable

## Response `200`

Successful Response

- Auth0PostRegistrationResponse
  - `exists` boolean, required
  - `created` boolean, required
  - `updated` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pulze/apis/pulze-ai-api.md) · [All operations](https://skmtc.net/pulze/apis/pulze-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pulze/pulze-ai-api/revisions/a5e0b539abc5/schema)
