---
title: "Publish events occurring during a specific period of time. This operation runs asynchronously and will return immediately."
method: POST
path: "/v1/public/events/publish/period"
tags: ["Public", "Events"]
---

# Publish events occurring during a specific period of time. This operation runs asynchronously and will return immediately.

`POST /v1/public/events/publish/period`

## Request

- Base URL: `https://api.evolia.com`
- URL: `https://api.evolia.com/v1/public/events/publish/period`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/evolia/apis/public-evolia/docs/v1/public/events/publish/period/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- PublishPublicEventsByPeriodRequest
  - `fromDate` string, required: A date in ISO-8601 format (2021-01-31T20:00:00.000-05:00). Publish events which ends after this date
  - `toDate` string, required: A date in ISO-8601 format (2021-01-31T20:00:00.000-05:00). Publish events which starts before this date
  - `forTeamIds` string[]: If specified, use this array of team UIDs to only published events linked to those teams
  - `forTeamCodes` string[]: If specified, use this array of team codes to only published events linked to those teams. (forTeamIds will take precedence over forTeamCodes if set)
  - `forMemberIds` string[]: If specified, use this array of member UIDs to only published events linked to those members
  - `forMemberCodes` string[]: If specified, use this array of member codes to only published events linked to those members. (forMemberIds will take precedence over forMemberCodes if set)
  - `forLocationIds` string[]: If specified, use this array of location UIDs to only published events linked to those locations
  - `forLocationCodes` string[]: If specified, use this array of location codes to only PUBLISH events linked to those locations. (forLocationIds will take precedence over forLocationCodes if set)
  - `forSkillIds` string[]: If specified, use this array of skill UIDs to only published events linked to those skills
  - `forSkillCodes` string[]: If specified, use this array of skill codes to only PUBLISH events linked to those skills (positions). (forSkillIds will take precedence over forSkillCodes if set)
  - `forConditionCodes` ConditionCode[]: If specified, use this is array of condition code to publish specific type of events
  - `sendNotification` boolean: If true (default), notifications will be sent

## Response `202`

The publish operation is being processed

## Other responses

- `409`: A publish operation is already in progress

---

[API](https://skmtc.dev/evolia/apis/public-evolia.md) - [All operations](https://skmtc.dev/evolia/apis/public-evolia/llms.txt) - [OpenAPI document](https://skmtc.dev/evolia/apis/public-evolia/revisions/e42abb18d4b6?raw)
