개인 전송
개인 전송
POST
https://push.mint-app.com/v1/push/user
개인에게 푸쉬를 전송하기 위한 api 입니다 header에 인증 정보를 꼭 넣어주세요.
Request Body
Name
Type
Description
reserved_date
string
예약 시간(yyyy-MM-dd hh:mm:ss) 형식
image_file
object
push의 이미지 표시할 file(파일로 전송하여야한다.)
user_id
string
user id 사용자 아이디
title
string
push title
body
string
push 내용
url
string
push를 클릭했을때 이동 시킬 url
badge
number
alarm 뱃지 갯수
image_url
string
push의 이미지 표시
push_type
string
new : 새창열림
main : 메인창이동
{
"result": "success",
"data": {
"success": 2,
"failed": 0
}
}
sample
curl --location --request POST 'https://push.mint-app.com/v1/push/user' \
--header 'Accept: application/json' \
--header 'api-key: {api-key}' \
--header 'api-secret: {api-secret}' \
--form 'user_id="1"' \
--form 'title="title"' \
--form 'body="body"' \
--form 'push_type="new or main"' \
--form 'url="https://www.domain.com"'
Last updated
Was this helpful?