Skip to main content
POST
/
holidays
/
subscriptions
curl --request POST \
  --url https://api.zeeg.me/v2/holidays/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "users": {
    "emails": [
      "lena.meier@horizondigital.de"
    ]
  },
  "subscription": {
    "categoryType": "country",
    "categoryKey": "DE"
  }
}
'
{
  "users": [
    {
      "email": "lena.meier@horizondigital.de",
      "slug": "lena-meier",
      "uuid": "Lena6mK2QwR9XPv",
      "status": "created"
    },
    {
      "email": "tom.schmidt@horizondigital.de",
      "slug": "tom-schmidt",
      "uuid": "TomXk3J8YqB1ZPN",
      "status": "skipped"
    }
  ]
}

Authorizations

Authorization
string
header
required

Body

application/json
subscription
object
required
users
object

User-based target. Mutually exclusive with team. Provide exactly one of emails, slugs or uuids.

team
object

Team-based target. Mutually exclusive with users. Provide exactly one of uuid or slug.

Response

At least one target was created or skipped.

users
object[]
required
Last modified on April 27, 2026