Reconnect an account
Asynchronously attempts to reconnect the account by refreshing OAuth tokens or testing IMAP/SMTP credentials. Returns 201 when the reconnection job has been queued.
Path Parameters
- Type: integerFormat: int32idrequired
The ID of the account to reconnect.
Responses
- application/json
- application/json
Request Example for post/v1/accounts/{id}/reconnect
curl http://api.mailreach.co/api/v1/accounts/1234/reconnect \
--request POST \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"queued": true,
"job_id": "9f3c4a7e-2b41-4e37-9a2f-6e2c6b8a3a10"
}