❓Q1: Pre-condition前置條件
您好🥰 您需要先註冊ChatDaddy,然後掃碼將您的WhatsApp與ChatDaddy連接起來,可查看下面的文檔: https://www.notion.so/chatdaddy/ChatDaddy-3mins-db45d699f21c4c44b8165a890c6df21e
❓Q2: How to generate token?如何生成token
Hi🥰, below is how to generate the token https://chatdaddy.stoplight.io/docs/openapi/b3A6MTUxMDc5NDM-login-to-chat-daddy Github地址:https://github.com/chatdaddy/service-auth-client
We have two tokens-
access token:
short lived(1 hour at most) tokens used to access APIs
curl
refresh token:
long lived tokens used to generate access tokens
❓Q3: Access token generation sample示例
curl
PHP
❓Q4: How to encode password 如何給密碼加密
您好🥰 關於如何encode password,請查看下面的文檔: https://www.notion.so/chatdaddy/How-to-encode-password-SHA256-base64-2cfba3f84cf845aaa052906752297992