curl --location 'https://{{domain}}/api-partner/v1/apps-in-toss/messenger/send-message' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{유저 정보 조회에서 나온 userKey}}'
--data '{
"templateSetCode":"test_01", //발송할 메시지 템플릿 코드값
"context": { // 등록된 템플릿의 내용 중 변수 전달
"storeName": "토스증권",
"date": "2025-01-20 15:30"
// userName 은 발송 시 유저의 이름으로 적용되는 기본 변수이기 때문에 전달할 필요 없음
}
}'
푸시메세지 가이드를 보면 위와 같이 나와 있는데
헤더 부분이
--header 'Authorization: Bearer {{유저 정보 조회에서 나온 userKey}}'
가 아니라
--header 'x-toss-user-key: {{유저 정보 조회에서 나온 userKey}}'
가 맞지 않나요?

