이미지 업로드
Endpoint
[POST] API URL 정보
Introduce
Request (Multipart Form Data)
Header
Field Name | Type | Required | Description |
---|---|---|---|
Content-type | Text | Y | multipart/form-data |
HT-Client-Id | Text | Y | 고객센터에서 발급 받은 key |
HT-Client-Secret | Text | Y | 고객센터에서 발급 받은 token |
Body
Field Name | Type | Required | Description |
---|---|---|---|
sender_key | Text(40) | Y | 발신프로필 키 |
image | binary | Y | 업로드할 이미지 파일 |
image_type | Text | N | rich 메시지에 사용할 이미지는 "rich"로 요청 |
Example
REST API Sample
Response (Json)
Parameter
Field Name | Type | Description |
---|---|---|
code | Text | 처리 결과 코드 (0000은 정상 / 나머지는 오류) |
message | Text | 처리 실패 시 결과 메시지 |
image | Text | 업로드된 이미지 경로 |