---
title: "Notifications Content API"
method: GET
path: "/v1/notification-text"
---

# Notifications Content API

`GET /v1/notification-text`

## Request

- Base URL: `https://api.astrozop.com`
- URL: `https://api.astrozop.com/v1/notification-text`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gamezop/apis/astrozop-apis/docs/v1/notification-text/get.ts> (a function with typed inputs; its response is checked against the schema)

The Astrozop Notifications Content API provides daily notification content that Astrozop publishers can leverage to send push notifications to their users.

## Query parameters

- `name` string
- `birth_date` string, date

## Response `200`

HTTP 200 OK. Notification text generated successfully.

- NotificationTextResponse
  - `data` NotificationTextData
    - `notification_content` NotificationText
      - `cta_text` string: If you decide to have a button for your users in the notification, this is the text to be used in the button.
      - `cta_url` string, uri: The link to which you must send your user when they click on the notification. This link will always be a path on your Astrozop Unique Link (will contain your Property ID) so that ad revenue can be attributed to you.
      - `image_url` string, uri: If you want to include an image in the notification, you can use the image link provided here. Images will follow a 2:1 aspect ratio.
      - `text` string: Main notification text.
      - `title` string: Notification title.
  - `success` boolean

## Other responses

- `400`: Bad Request. Occurs when input parameters are invalid.
- `401`: Unauthorized. Occurs when the Bearer token is invalid or missing.
- `429`: Too Many Requests. Rate limit exceeded.

---

[API](https://skmtc.dev/gamezop/apis/astrozop-apis.md) - [All operations](https://skmtc.dev/gamezop/apis/astrozop-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/gamezop/apis/astrozop-apis/revisions/485db86a5145?raw)
