Main APIAI API
PUT /ai/email
이메일 수집
이메일 수집
이메일 정보를 수집합니다.
| 항목 | 값 |
|---|---|
| 메서드 | PUT |
| 경로 | /ai/email |
| 인증 | 필요 |
| Content-Type | application/json |
요청
PUT /ai/email HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
Content-Type: application/json
{
"email": "user@example.com"
}curl -X PUT "https://api.glowb.com/ai/email" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com"}'const response = await fetch('/ai/email', {
method: 'PUT',
headers: {
'Authorization': `Bearer ${accessToken}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
email: 'user@example.com'
})
});
const result = await response.json();Request Body 스키마
Prop
Type
응답
성공 응답 (200 OK)
{
"message": "이메일이 저장되었습니다."
}