Add third party account details
This endpoint allows you to add a third-party account where you want to export your mailboxes. Supported apps:Name | Type | Description |
---|
email | string | Email of the third-party account. |
password | string | Password of the third-party account. |
app | string | The third-party app where the account should be added. |
Example Request#
{
"email": "user@example.com",
"password": "securepassword",
"app": "INSTANTLY"
}
Request
Body Params application/json
{
"email": "john.doe@example.com",
"password": "securePassword123",
"app": "MAILAPP"
}
Request Code Samples
curl --location --request POST 'https://api.zapmail.ai/api/v2/exports/accounts/third-party' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'x-service-provider;' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "john.doe@example.com",
"password": "securePassword123",
"app": "MAILAPP"
}'
Responses
application/json {
"status": 200,
"message": "Account added successfully",
"data": null
}
Modified at 2025-10-14 09:22:55