Hi I successfully tested using parameters with create email-function.
Example
auth-Token+i=41+s=17+v=3@pushsafer.com
image 41 sound 17 vibrate 3 times
Is there are possability to add subject as a parameter?
something like this
auth-Token+i=41+s=17+v=3+t="show this as the subject"@pushsafer.com
Adding a subject in email-push-notification
- admin
- Site Admin
- Posts: 990
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Adding a subject in email-push-notification
this is not possible, because
Pushsafer Title = eMail Subject
Pushsafer Message = eMail Body
Pushsafer Title = eMail Subject
Pushsafer Message = eMail Body
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Re: Adding a subject in email-push-notification
Pushsafer does not directly support specifying the subject as part of the parameters in the email address, such as +t="subject". However, there are alternative ways to set the subject when using Pushsafer.
Geometry Dash
Alternatives:
Specify the Subject in the Email Client:
Use the email's subject line in your email client as the Pushsafer notification subject. Pushsafer automatically picks up the subject of the email to use as the notification title.
Pushsafer REST API:
If you’re using the Pushsafer API instead of email, you can include the subject/title as a parameter (t) in the API request. Here's an example:
Set a Default Title in Pushsafer Settings:
If you frequently send notifications with a static subject, you can configure a default title in your Pushsafer account settings.
Unfortunately, adding a subject directly as a parameter in the email address isn’t supported due to the format restrictions of email addresses. For dynamic titles, the best approach is to use the email's subject field or the API.
Geometry Dash
Alternatives:
Specify the Subject in the Email Client:
Use the email's subject line in your email client as the Pushsafer notification subject. Pushsafer automatically picks up the subject of the email to use as the notification title.
Pushsafer REST API:
If you’re using the Pushsafer API instead of email, you can include the subject/title as a parameter (t) in the API request. Here's an example:
Code: Select all
curl -s \
--form-string "t=Your Notification Title" \
--form-string "m=Your Message" \
--form-string "s=17" \
--form-string "v=3" \
--form-string "i=41" \
--form-string "k=YourAuthToken" \
https://www.pushsafer.com/api
If you frequently send notifications with a static subject, you can configure a default title in your Pushsafer account settings.
Unfortunately, adding a subject directly as a parameter in the email address isn’t supported due to the format restrictions of email addresses. For dynamic titles, the best approach is to use the email's subject field or the API.
Who is online
Users browsing this forum: No registered users and 4 guests