Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Required

Description

item

Object

true

– requestId

String

true

발신 요청 ID

...

Friendtalk

[URL]

Panel
bgColor#F4F5F7

POST /api/message/sendFriendtalk.v1.0

[Request Body]

Code Block
{
    "senderKey": String,
    "sender": String,
    "sendDate": String,
    "adFlag": Boolean,
    "messageType": String,
    "image": {
        "contentType": String,
        "fileName": String,
        "body": String
    },
    "imageLink": String,
    "receivers": [
        {
            "phoneNumber": String,
            "content": String
        }
    ]
}

Name

Type

Required

Description

senderKey

String

true

발신 키

sender

String

true

발신자 번호

  • format : 000-0000-0000

sendDate

String

false

발송시간

  • format : yyyy-MM-dd HH:mm

adFlag

Boolean

false

광고여부

image

Object

false

이미지

– contentType

String

true

MIME Type

  • JPG(image/jpeg), JPEG(image/jpeg), SIS(image/vnd.wap.sis)

– fileName

String

true

File Name

– body

String

true

File Body

  • File byte[] 를 Base64 인코딩

  • size : 50kb 이하

ex) Base64.getEncoder().encodeToString(Files.readAllBytes(file.toPath()))

receivers

Array

true

수신자 정보

– phoneNumber

String

true

수신자 번호

  • format : 000-0000-0000

– content

String

true

메시지 내용

  • size : byte

[Response]

Code Block
{
    "time": String,
    "result": String,
    "resultMessage": String,
    "locale": String,
    "item": {
        "requestId": String
    }
}

Name

Type

Required

Description

item

Object

true

– requestId

String

true

발신 요청 ID