RCS 이미지 업로드

RCS 문자 전송을 하기 위해서는 이미지 업로드 API를 호출하여 이미지 업로드를 수행한 후 반환되는 파일 키를 RCS 요청에 포함하여 보낸다.

이미지 규격

RCS 이미지

  1. 제한 사이즈: 1MB 이하

  2. 파일 형식: jpg, png

API 목록

No
Method
API
Description
1

POST

/v1/openapi/rcs/image

RCS 이미지 업로드

1. RCS 이미지 업로드

POST https://api.megabird.co.kr/v1/openapi/rcs/image

1.1 Headers

Name
Type
Description

Content-Type*

String

multipart/form-data

Authorization*

String

발급받은 API Key

1.2 Request Body Parameters

Name
Type
Required
Description

file*

MultipartFile

Y

jpg, png 이미지

1.3 Response Body Parameters

파라미터명
타입
설명

success

boolean

성공여부

code

String

결과 코드

message

String

결과 메시지

data

Json

결과 데이터

fileKey

String

파일 키

expiryDate

LocalDateTime

만료일

timestamp

LocalDateTime

현재 시간

1.4 Response Example

{
    "success": true,
    "code": "200",
    "message": "성공",
    "data": {
        "fileKey": "ae5159d23290458fa6b88f2b2063f12a",
        "expiryDate": "2026-07-08T15:00:00"
    },
    "timestamp": "2025-07-09T15:35:18.898732"
}

Last updated