Pular para o conteúdo principal
POST
/
api
/
workspace
/
{workspaceId}
/
export
Export workspace data
curl --request POST \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/export \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "format": "json",
  "include_products": true,
  "include_members": true,
  "include_audit_logs": false
}
'
{
  "job_id": "export_abc123def456",
  "status": "queued",
  "created_at": "2024-02-15T10:30:00Z"
}

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>

Parâmetros de caminho

workspaceId
string
obrigatório

The workspace ID

Pattern: ^ws_[a-z0-9]+$

Corpo

application/json
format
enum<string>
padrão:json
Opções disponíveis:
json,
csv,
xlsx
include_products
boolean
padrão:true
include_members
boolean
padrão:true
include_audit_logs
boolean
padrão:false

Resposta

Export job created successfully

job_id
string

Unique export job identifier

status
enum<string>
Opções disponíveis:
queued,
processing
created_at
string<date-time>
Last modified on February 16, 2026