팩스 발송 서비스 개발 연동 질문 드립니다. #74
Answered
by
Palbahngmiyine
hansoo-dev
asked this question in
SOLAPI Q&A
-
사용 중인 프로그래밍 언어 및 버전nextjs 14 >, nodejs >18 SDK 버전solapi: 5.5.1 운영 환경개발 환경 (로컬) 질문/문제 설명기존 nextjs & typescript 로 프로젝트 개발 진행 중 인데요, coolsms 메세지 부분은 모두 연동하여 테스트 끝났습니다. 코드 예시No response 시도한 해결 방법javascript 폴더 내에 webhooks 라고 있는데 자료로는 적용이 불가능 하였습니다. 기대하는 결과웹 팩스발송 확인사항
|
Beta Was this translation helpful? Give feedback.
Answered by
Palbahngmiyine
Aug 11, 2025
Replies: 1 comment 14 replies
-
|
안녕하세요, 솔라피 기술지원팀입니다. const messageService = new SolapiMessageService(
'your_api_key',
'your_api_secret_key',
);
messageService
.uploadFile(
path.join('이미지 경로, nodejs path모듈을 미리 불러왔다는 전제'),
'FAX',
)
.then(res => res.fileId)
.then(fileId => {
messageService
.send({
to: '팩스 수신이 가능한 수신번호(예) 029302266)',
from: '등록하신 발신번호',
faxOptions: {
fileIds: [fileId],
},
})
.then(console.log);
});감사합니다. |
Beta Was this translation helpful? Give feedback.
14 replies
Answer selected by
Palbahngmiyine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

안녕하세요, 솔라피 기술지원팀입니다.
Node.js에 대한 팩스 발송 연동 예제는 아래 코드를 참고 해 주시길 바라겠습니다.
감사합니다.