# 토큰을 갱신해야만 DM이 발송되나요?

## 토큰이란? 👀

* 토큰이란 고객님의 계정에 접근하거나 메시지를 보낼 수 있는 권한을 확인해 주는 '열쇠'라고 생각하시면 돼요.
* 소셜비즈 앱은 토큰을 통해 고객님의 페이스북 계정 및 인스타그램 계정 정보에 접근해 메시지를 발송할 수 있어요.
* 고객님이 소셜비즈에 접속하실 때 마다 새로운 토큰이 갱신 발급돼요.

## 토큰 만료와 무효화란?

* 토큰 만료: 토큰은 발급 후 90일간 유효하기 때문에 소셜비즈에 90일간 접속하지 않을 경우는 토큰이 만료돼요.
* 토큰 무효화: 고객님의 페이스북 또는 인스타그램 계정 정보(비밀번호)가 변경된 경우 발급된 토큰이 무효화 될 수 있어요.
* 이 경우도 소셜비즈에 접속해주시면 새로운 토큰이 갱신되며 자동 업데이트돼요.

## 토큰이 만료 또는 무효화되면 어떻게 되나요?

* <mark style="color:purple;background-color:purple;">**토큰이 만료 또는 무효화되면 소셜비즈가 고객님의 계정으로 자동DM을 보낼 수 없게돼요.**</mark>
* 이 경우는 토큰의 갱신이 필요하며, 소셜비즈에 접속(로그인) 해주시면 토큰 정보가 새롭게 갱신됨과 동시에DM 자동화도 다시 정상화돼요.
  * 로그인 외 다른 조치 필요한 내용은 없어요.
* 오랫동안 소셜비즈에 로그인하지 않으셨거나 계정 정보가 변경된 경우 DM 발송이 누락될 수 있으므로,\
  자주 소셜비즈에 로그인하시어 토큰 정보가 최신으로 유지될 수 있도록 관리해주세요


---

# 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://socialbiz.gitbook.io/socialbiz/faq/meta-guide/4.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.
