Check if a custom short code is available for use in your project. This endpoint helps you verify code availability before creating a new dynamic link, preventing conflicts and ensuring your preferred codes are available.
{ "success": true, "data": { "code": "summer-sale", "available": false, "message": "Code is already in use in this project" }, "timestamp": "2024-01-15T10:30:00Z"}
{ "success": false, "error": { "code": "INVALID_CODE_FORMAT", "message": "Code must be 3-50 characters and contain only alphanumeric characters, hyphens, and underscores" }}