Skip to main content
GET
Notifications Content API

Why have an API for notification content?

This API is designed to make it easy for Astrozop publishers to engage their users with fresh, daily content. For example, users like reading their horoscope daily. If you want to send notifications daily, you need content for the notifications. This API is here to help you with fresh new content each day! If you have your users’ names and date of births, this API will automatically also personalize the notification content for your users. For example, the notification title and text could contain the user’s name, or their sun sign (derived from the user’s birth date). This API ensures that you can keep your notifications relevant and engaging, without the need to manually create content every day, ultimately increasing user retention and interaction.

Important notes

  • We only provide content in English.
  • Passing both name and birth_date is optional. If these parameters are provided, the content will be better personalized for the user. If they are not provided, the content will be generic.
  • We recommend that you only pass the first name of the user in the name field. Avoid passing the full name, as using first name allows for better phrasing.
  • Ideally, pull content from this API once each day and send it out to your users.

API specification

Authorizations

Authorization
string
header
required

You can find the Bearer token for this API under Settings & Admin > API Tokens within the Gamezop Business Dashboard.

Query Parameters

name
string

First name of the user to whom you'll send the push notification.

Maximum string length: 30
birth_date
string<date>

Date of birth of the user to whom you'll send the push notification. This should be formatted as YYYY-MM-DD

Response

HTTP 200 OK. Notification text generated successfully.

data
object
success
boolean