Skip to content

Share Links

Share Links provide a way to share any deployment with external stakeholders (clients, designers, PMs) without giving them access to the deploybase dashboard.

  1. Create a Share Link for a specific deployment
  2. System generates a unique token
  3. Link URL: https://share.deploybase.eu/{token}
  4. All requests are proxied through the backend (CDN URLs are never exposed)
  5. If password-protected, viewers see a password form first
Terminal window
curl -X POST https://api.deploybase.eu/api/v1/draft-shares \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"deployment_id": "DEPLOYMENT_ID",
"password": "optional-password",
"expires_in": "7d"
}'
FieldRequiredDescription
deployment_idYesThe deployment to share
passwordNoMinimum 8 characters. Viewers must enter it to access the site.
expires_inNo24h, 7d, or 30d. No expiry if omitted.

The response includes the full share_url.

AspectShare LinkPreview
CreationManualAutomatic (on non-default branch deploy)
URLshare.deploybase.eu/{token}{branch}-{slug}.previews.deploybase.eu
PasswordOptionalNot available
DeliveryBackend proxyCDN-direct
TargetAny deploymentLatest deployment on a branch
AudienceExternal stakeholdersDevelopment team
Terminal window
curl -X DELETE https://api.deploybase.eu/api/v1/draft-shares/SHARE_ID \
-H "Authorization: Bearer $TOKEN"

Revocation is instant — viewers lose access immediately.

  • Client review: Share a staging deployment with a client for feedback before promoting to production
  • Design review: Share a feature branch deployment with designers
  • Stakeholder demos: Password-protect a deployment for a presentation
  • Time-limited access: Set an expiry so links automatically become inactive