Mailrelay API Reference

Choose which A/B test combination should to be sent to the remaining subscribers

POST /ab_tests/{id}/choose_winning_combination

When A/B test is manual, this method allows you to select which option should be sent to the remaining subscribers. Once you select it, we will start sending it immediately.

Parameters

NameTypeDescription
id integer ID of the record
combination string The combination that you want to select: a, b or c.

Responses

StatusDescription
200 Success
404 Couldn't find record with provided ID.
401 The API key wasn't sent or is invalid
500 An internal error happened. Try again later.
422 A validation error occurred. Check the response body for more information.