Skip to main content
POST
/
api
/
integrations
/
sync
Trigger integration sync
curl --request POST \
  --url https://app.alana.shopping/api/integrations/sync \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspace_id": "<string>",
  "provider": "<string>"
}
'
{
  "sync_id": "<string>",
  "status": "queued"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>

Body

application/json
workspace_id
string
required
provider
string
required

Response

Sync job initiated successfully

sync_id
string
status
enum<string>
Available options:
queued,
in_progress