Complete URL A/B Test
Short URL A/B Testing
Complete URL A/B Test
Complete a URL A/B test and select a winner
POST
Complete URL A/B Test
Permanently finish a test. You can optionally specify a winning variant; otherwise, the variant with the highest conversion rate will be automatically selected. The short URL will be updated to point to the winning destination permanently.
Path Parameters
The short code (custom alias) of the short URL, or the UUID of the A/B test to complete. First priority is given to resolving the short code.
Body Parameters
Optional UUID of the winning variant. If omitted, the winner is auto-detected based on conversions.
Request Examples
- cURL
- Node.js
- Python
- Go
- PHP
- Java
Use Cases
Pick Specific Winner
Pick Specific Winner
Complete the test and force “Variant B” to be the permanent destination.
Auto-Detect Winner
Auto-Detect Winner
Complete the test and let the system automatically choose the best performing variant.
Related Endpoints
Test Analytics
Review performance
Delete Test
Clean up old tests
Response Examples
- 200 OK
- 404 Not Found