> For the complete documentation index, see [llms.txt](https://movie-team.gitbook.io/movieteam/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://movie-team.gitbook.io/movieteam/accounts/undefined.md).

# 이메일 인증

## 회원가입 전 요청자 이메일로 인증코드 발송(Gmail만 가능)

<mark style="color:green;">`POST`</mark> `http://127.0.0.1:8000/api/verifyEmail/`

#### Request Body

| Name                                       | Type   | Description |
| ------------------------------------------ | ------ | ----------- |
| username<mark style="color:red;">\*</mark> | String |             |
| email<mark style="color:red;">\*</mark>    | String |             |

{% tabs %}
{% tab title="200: OK 사용자 이메일로 인증코드가 발송됨" %}

{% endtab %}
{% endtabs %}

## 인증코드 검증

<mark style="color:green;">`POST`</mark> `http://127.0.0.1:8000/api/confirm/`

#### Request Body

| Name                                       | Type   | Description |
| ------------------------------------------ | ------ | ----------- |
| uidb64<mark style="color:red;">\*</mark>   | String |             |
| username<mark style="color:red;">\*</mark> | String |             |

{% tabs %}
{% tab title="200: OK 인증코드 검증 완료" %}

{% endtab %}
{% endtabs %}
