Create or regenerate a share token for a project
POST /v1/projects/{projectId}/public-share-token
Creates a public share token for the project, or replaces the existing one. Anyone with the resulting link can view the project graph without authentication. Regenerating the token immediately invalidates any existing links or embeds.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”An identifier (e.g., my-project-a1b2c)
Responses
Section titled “ Responses ”The share token and public URL
Current share token for a project
object
The share token (UUID v4)
When the token was created
Unauthorized, authentication required
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 charactersForbidden, insufficient permissions
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 charactersProject not found
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 charactersToo many requests
Rate limit exceeded error response
object
HTTP status code
Example
429Machine-readable error code in snake_case
Error message
Example
Too many requestsNumber of seconds until the client can retry
Example
60Headers
Section titled “Headers ”Number of seconds to wait before retrying
Internal server error
Standard error response
object
HTTP status code
Example
400Machine-readable error code in snake_case
Error message
Example
Validation failedAdditional error details
Example
Project name must be between 3 and 60 characters