문자 메시지MMS 파일 업로드

MMS 파일 업로드

curl -X POST "https://message-api.hackle.io/v1/messages/text/files" \
  -H "X-HACKLE-API-KEY: YOUR_API_KEY" \
  --form file=example_string
{
  "fileKey": "ade4d7a7b89a413481386d278cd43a4b"
}
POST
/v1/messages/text/files
POST
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-HACKLE-API-KEY)
X-HACKLE-API-KEYstring
Required

워크스페이스 메시지 API 키로 인증합니다. 키는 간편 발송 대시보드의 [API 발송] 메뉴에서 복사할 수 있습니다. 자세한 내용은 인증 및 보안을 참고하세요.

워크스페이스 메시지 API 키로 인증합니다. 키는 간편 발송 대시보드의 [API 발송] 메뉴에서 복사할 수 있습니다. 자세한 내용은 인증 및 보안을 참고하세요.
Content-Typestring
Required

The media type of the request body

Options: multipart/form-data
filefile
Required

업로드할 파일

Format: binary
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-HACKLE-API-KEYstring
Required

API Key for authentication. 워크스페이스 메시지 API 키로 인증합니다. 키는 간편 발송 대시보드의 [API 발송] 메뉴에서 복사할 수 있습니다. 자세한 내용은 인증 및 보안을 참고하세요.

Body

multipart/form-data
filefile
Required

업로드할 파일

Responses

MMS 메시지에 첨부할 파일을 업로드합니다.

권장 파일 규격

항목규격
크기1000 × 1000 px 이하
용량1개 300KB 이하 / 3개 첨부 시 총 합 800KB 이하
형식JPG, JPEG