> For the complete documentation index, see [llms.txt](https://developers-apps-in-toss.toss.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers-apps-in-toss.toss.im/guide/en/authentication/user-info.md).

# Integrate user information

Even if users do not enter it themselves, the required information can be safely retrieved from Toss. For example, when sending a parcel, users can retrieve the information stored in Toss, such as name, mobile phone number, and address, right away after consenting, without having to enter it one by one.

{% hint style="info" %}
**Please be sure to check this.**

* User information retrieval is **a feature separate from Toss Login**. It can be used without Toss Login.
* To the user, **consent to provide personal information to a third party** is required before the information is delivered.
* The display timing can be registered for up to **5**items.
* It can be used without a separate server, and with SDK **v2.7.0** or later.
  {% endhint %}

***

### 1. Access User Information Retrieval

Please go to the User Information Retrieval menu in the console.

* **How to access:** Apps in Toss console → Select workspace → Select mini app → Left menu **'Retrieve User Information'**

When you first access it, a blank screen with no registered information will appear. `Register` button to start the setup.

<figure><img src="https://941686070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FTBWJatnPeGEq7cv43iZJ%2Fimage.png?alt=media&amp;token=c805ab45-a2f4-4878-97b1-a4cf27f31177" alt=""><figcaption></figcaption></figure>

***

### 2. Set the consent notice display timing

Set the timing for requesting user consent to provide information. Please write the title according to the situation in which user information is needed in the service.

<figure><img src="https://941686070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2Ff2LwHsTh2KgH4O8fJp5x%2Fimage.png?alt=media&amp;token=deae4793-1f74-47c8-83e8-9a4ab65b5bc2" alt=""><figcaption></figcaption></figure>

**Consent screen title**

This is the title shown on the consent screen. After the entered text, **"Would you like to retrieve the information needed when..."** is automatically added. For example, `If you enter "Sending a parcel",`to the user, **"Would you like to retrieve the information needed when sending a parcel?"** will be shown.

**User information to retrieve**

Please select the user information to retrieve at that time. The available items are as follows. User information is retrieved from the information in the Toss app → Settings → My Info · Address Management section.

| Item                        | Description                                          | Remarks                                                                                                                |
| --------------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Name                        | User name                                            |                                                                                                                        |
| Gender                      | User gender                                          |                                                                                                                        |
| Korean national / Foreigner | Whether the user is a Korean national or a foreigner |                                                                                                                        |
| Date of birth               | User date of birth                                   |                                                                                                                        |
| Mobile phone number         | User mobile phone number                             |                                                                                                                        |
| Address                     | User home address                                    | Since it is not mandatory when signing up for Toss, there may be no value, and in that case it will be passed as null. |
| Email address               | User email address                                   | Since it is not mandatory when signing up for Toss, there may be no value, and in that case it will be passed as null. |

**Add display timing**

If there are multiple points in the service where user information is needed, `Add display timing` you can add timing with the **5**button. You can register up to this many items. You can set different user information to retrieve for each timing. For example, when shipping a parcel, you can request name, mobile phone number, and address, and when verifying identity, you can request only name and date of birth.

***

### 3. Check the consent notice details

The consent notice shown to users is **consent to provide personal information to a third party** automatically generated in the format below. The consent notice content is automatically composed according to the selected user information items. `View` button to preview the full consent notice.

***

### 4. Set up callbacks (optional)

If a user withdraws from the mini app, the withdrawal event is delivered to the registered callback URL. After receiving the event, please destroy that user's information.

{% hint style="info" %}
Callbacks are optional. To use callbacks, set the toggle to **ON**.
{% endhint %}

**Callback URL**

Please enter the URL that will receive withdrawal events.

**HTTP method**

Please select the HTTP method to use when calling the callback, **GET** or **POST** .

**Basic Auth header**

This is the authentication information included in the HTTP header when requesting the callback. `Authorization: Basic {entered value}` is sent in this format.

**Callback test**

Before saving the settings, `Test` please use the button to check whether the callback works properly. You can save only after the test succeeds.

***

### 5. Registration complete and copy the code

Once registration is complete, each display timing will have a `cud_`unique code starting with (`consentedUserDataKey`) generated. This code is used when retrieving user information in the SDK. Please click the copy icon to copy the code.

After registration, you can see the display timing, user information to retrieve, and code at a glance on the consent notice information screen. `Edit` button to change the settings.

<figure><img src="https://941686070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2Fr9BS6jzrZqXAjZq7pe88%2Fimage.png?alt=media&amp;token=46c22019-2e51-4893-b512-5da6b89c0530" alt=""><figcaption></figcaption></figure>

***

### 6. Withdraw

You can withdraw consented notices from the path below. Individual withdrawal is possible.

* **How to withdraw:** Toss app → Settings → Terms and personal data processing consent → Mini app name

***

### Integrate development

> [User information >](/documentation/api-and-sdk-en/sdk/domains-api/user/user.getconsenteddata.md)
>
> You can retrieve user information through the SDK.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://developers-apps-in-toss.toss.im/guide/en/authentication/user-info.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
