POST
/v1/mgmt/project/snapshot/import/asyncAuthorization
Descope Project ID and Management Key AuthorizationBearer <token>
Project ID:Management Key as bearer token.
In: header
Request Body
application/json
files*object
excludes?array<string>
string
inputSecrets?object
Starts importing a snapshot of all settings and configurations into a project and returns an importId right away. Only the snapshot format is checked before the response, so a malformed snapshot fails at once; the snapshot is validated during the import, and validation failures are reported in a validate step. Poll Get Import Snapshot Process with the importId to follow each import step. Only one import runs per project at a time; a second one fails with a conflict until the first ends. To retry a failed import, send the full snapshot again.
curl -X POST "https://api.descope.com/v1/mgmt/project/snapshot/import/async" \ -H "Content-Type: application/json" \ -d '{ "files": {} }'{ "importId": "string"}export interface Response {/** * The ID to pass to Get Import Snapshot Process. */importId?: string} Was this helpful?