---
title: "Create activity"
method: POST
path: "/injection/activities"
tags: ["Data Injection"]
---

# Create activity

`POST /injection/activities`

## Request

- Base URL: `https://connect-au.catapultsports.com/api/v6`
- URL: `https://connect-au.catapultsports.com/api/v6/injection/activities`
- Auth: HTTP bearer

Create an injected activity with periods and athletes

## Request body

- object
  - `name` string, required
  - `start_time` number, required
  - `end_time` number, required
  - `home_team_id` string
  - `team_ids` string[]: List of team ids for Activity
  - `periods` object[], required
    - `name` string, required
    - `start_time` number, required
    - `end_time` number, required
    - `athletes` string[], required: Athlete IDs

## Response `200`

Created

- object
  - `id` string: Activity id

## Other responses

- `401`: Unauthenticated
- `422`: Invalid request data
- `503`: Another update to the device mappings of an athlete in this activity is in progress. Nothing was saved, so the request can be resent. Retry after the number of seconds in the Retry-After header.

## Changes

- **2026-11-03** `4f0d7082f399`: 1 info
  - added the non-success response with the status `503`

[Operation history](https://skmtc.dev/catapultsports/apis/openfield-connect-v6-api/changes/injection/activities/post.md)

---

[API](https://skmtc.dev/catapultsports/apis/openfield-connect-v6-api.md) - [All operations](https://skmtc.dev/catapultsports/apis/openfield-connect-v6-api/llms.txt) - [OpenAPI document](https://skmtc.dev/catapultsports/apis/openfield-connect-v6-api/revisions/4f0d7082f399?raw)
