---
title: "Create a Scheduled Job"
method: POST
path: "/gsuites/{gsuite_id}/import/schedules"
tags: ["G Suite"]
---

# Create a Scheduled Job

`POST /gsuites/{gsuite_id}/import/schedules`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/gsuites/{gsuite_id}/import/schedules`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/gsuites/:gsuite_id/import/schedules/post.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint to create a scheduled job for specified Google Workspace integration.

## Path parameters

- `gsuite_id` string, byte, required

## Query parameters

- `sendEmail` boolean

## Response `200`

A successful response.

- JumpcloudGappsCreateScheduledResponse
  - `scheduledJobId` string, hex: ObjectID of the created Scheduled Job

## Other responses

- `201`: Created
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: An unexpected error response.

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
