{ "subscriptionId": "sub_1234567890" }
curl --location --request POST 'https://api.zapmail.ai/api/v2/subscriptions/mailboxes' \ --header 'x-auth-zapmail: YOUR_API_KEY' \ --header 'x-service-provider: GOOGLE' \ --header 'Content-Type: application/json' \ --data-raw '{ "subscriptionId": "sub_1234567890" }'
{ "status": 200, "message": "Mailboxes assigned in subscription", "data": [{ "id": "uuid", "username": "john", "domain": "example.com", "firstName": "John", "lastName": "Doe", "status": "ACTIVE", "createdAt": "2024-01-01T00:00:00.000Z" }] }