x-api-key: ********************{
"mailboxes": [
{
"userName": "support",
"firstName": "Support",
"lastName": "Team",
"domain": "example.com",
"workspaceType": "Google Standard"
},
{
"userName": "sales",
"firstName": "Sales",
"lastName": "Department",
"domain": "example.com",
"workspaceType": "Google Premium"
}
]
}
curl --location --request POST '/v1/mailboxes' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"mailboxes": [
{
"userName": "support",
"firstName": "Support",
"lastName": "Team",
"domain": "example.com",
"workspaceType": "Google Standard"
},
{
"userName": "sales",
"firstName": "Sales",
"lastName": "Department",
"domain": "example.com",
"workspaceType": "Google Premium"
}
]
}'{
"id": "cmg9l78m8000bla04a6onx0ih",
"username": "Mary",
"fullName": "Mary",
"status": "PENDING",
"createdAt": "2025-10-02T15:45:32.768Z"
}