Kakao

템플릿 이미지 파일 업로드

Changed on

알림톡 템플릿에 사용할 이미지 파일을 업로드합니다. 업로드된 이미지는 템플릿 생성 시 사용할 수 있으며, 카카오톡 정책에 맞는 규격이어야 합니다.

post/v2/messages/kakao/alimtalk/image

Request

  • Base URL
    https://api.sendon.io
  • URL
    https://api.sendon.io/v2/messages/kakao/alimtalk/image
  • Auth
    HTTP basic

Request body multipart/form-data

imagestring binary

업로드할 이미지 파일입니다. JPG, PNG 형식을 지원하며, 최대 크기와 해상도 제한이 있습니다.

Response

알림톡 템플릿 이미지 업로드 요청의 처리 결과입니다. 성공 시 업로드된 이미지의 URL이 포함됩니다.

codenumber required

HTTP 상태 코드입니다. 200이면 성공, 400대는 클라이언트 오류, 500대는 서버 오류를 나타냅니다.

messagestring required

API 호출 결과에 대한 사람이 읽을 수 있는 메시지입니다. 성공 시 "OK", 실패 시 구체적인 오류 사유가 포함됩니다.

Example response

{
  "code": 200,
  "message": "OK",
  "data": {
    "imageUrl": "https://example.com/images/uploaded-image.png"
  }
}

Changes

    • breaking

      request body became required

    • breaking

      the request property became not nullable

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      removed the required property / from the response with the status

    • info

      api operation id uploadAlimTalkTemplateImage removed and replaced with UploadController_uploadAlimTalkTemplateImage

    • info

      the endpoint scheme security basic was added to the API

    • info

      added to the response property allOf list for the response status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response's property default value 200 was removed for the status

    • info

      the response's property default value 성공 was removed for the status