---
title: "POST /v1/portabilityArchive:initiate"
method: POST
path: "/v1/portabilityArchive:initiate"
tags: ["portabilityArchive"]
---

# POST /v1/portabilityArchive:initiate

`POST /v1/portabilityArchive:initiate`

Initiates a new Archive job for the Portability API.

## Request body

- InitiatePortabilityArchiveRequest — Request to kick off an Archive job.
  - `startTime` string, google-datetime — Optional. The timestamp that represents the starting point for the data you are exporting. If the start_time is not specified in the InitiatePortabilityArchiveRequest, the field is set to the earliest available data.
  - `resources` string[] — The resources from which you're exporting data. These values have a 1:1 correspondence with the OAuth scopes.
  - `endTime` string, google-datetime — Optional. The timestamp that represents the end point for the data you are exporting. If the end_time is not specified in the InitiatePortabilityArchiveRequest, this field is set to the latest available data.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/dataportability.md) · [All operations](https://skmtc.dev/google/apis/dataportability/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/dataportability/revisions/084c876e13db/schema)
