Keep a checked-out account longer
POST
/v1/addresses/{address}/extend
const url = 'https://api.proxymail.qa/v1/addresses/k7f2x9ab12cd%40mailclub.dev/extend';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"token":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","minutes":10}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.proxymail.qa/v1/addresses/k7f2x9ab12cd%40mailclub.dev/extend \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "token": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "minutes": 10 }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”address
required
string format: email
The test address, URL-encoded. A variant also works: capitals, or a +tag (k7f2x9ab12cd+o’brien@mailclub.dev). It acts on the plain address; waiting on a +tag variant, or listing its messages, only finds mail sent to that variant.
Example
k7f2x9ab12cd@mailclub.devRequest Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
token
required
string format: uuid
minutes
From now.
integer
Responses
Section titled “Responses”The new hold
An error
Media typeapplication/json
object
error
string
message
string
Example generated
{ "error": "example", "message": "example"}An error
Media typeapplication/json
object
error
string
message
string
Example generated
{ "error": "example", "message": "example"}An error
Media typeapplication/json
object
error
string
message
string
Example generated
{ "error": "example", "message": "example"}