Public
Documentation Settings

Swing2App Server API(Global)

This is the Server API provided by Swing2App.
Please refer to the document below to utilize the API services offered by Swing2App.
Please note that the use of APIs in ways that have not been pre-approved or excessive mass messaging may result in restrictions on usage.

POSTSend Push Notification

https://www.swing2app.com/swapi/push_api_send_message
Bodyformdata
app_id

app_id

APP_ID provided by Swing2App

app_api_key

api_key

API KEY issued by Swing2App

send_target_list

test

User ID of the recipient(s) For a single recipient, enter user_id. For multiple recipients, separate the user IDs with a comma (,). Example: user_id1, user_id2 To send to all users, enter -1. Example: -1

send_type

push

Enter the type of message. For push notifications, enter 'push'

message_title

message title

Message title

message_content

message content

Message content

message_image_url

image url

URL for the image to be included in the push notification. This can be omitted if not applicable.

message_link_url

link url

URL for the link to be included in the push notification. This can be omitted if not applicable.

Loading