Logo
geexbox API Documentation

单个用户推送透传消息

POST https://restapi.getui.com/v2/ax4Nilmie16HLpT6cj45RA/push/single/cid

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
content-type
string
token
string




RESPONSES

status





Curl
curl -X POST 'https://restapi.getui.com/v2/ax4Nilmie16HLpT6cj45RA/push/single/cid' -H 'content-type: application/json;charset=utf-8' -H 'token: bdbd7beb84b1a5787e2ae965c021c545057e7aea0b7a3621e2a46ba0cc868513' -d '{"request_id":"b33623ce3aeb4979a37329b304a55132","settings":{"ttl":3600000,"strategy":{"default":1}},"audience":{"cid":["b361f451dce14c7c5e29224ec119379a"]},"push_message":{"transmission":"{\"title\":\"标题\",\"content\":\"内容\",\"payload\":\"37\"}"},"push_channel":{"android":{"ups":{"notification":{"title":"标题","body":"内容","click_type":"intent","intent":"intent:#Intent;action=android.intent.action.oppopush;launchFlags=0x14000000;component=uni.UNIAA1F82D/io.dcloud.PandoraEntry;S.UP-OL-SU=true;S.title=标题;S.content=内容;S.payload=37;end"}}}}}'

ENDPOINTS