SafeWeb
Partner API

Add customer monitored emails

POST
/api/v1/integrations/customer/{customerId}/assets/emails

Path Parameters

customerId*string

Customer UUID

Formatuuid

Header Parameters

SW-PARTNER-ID*string

Partner organization identifier

SW-API-KEY*string

API authentication key

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/integrations/customer/497f6eca-6276-4993-bfeb-53cbbbba6f08/assets/emails" \  -H "SW-PARTNER-ID: string" \  -H "SW-API-KEY: string" \  -H "Content-Type: application/json" \  -d '{    "emails": [      "user@example.com"    ]  }'
{  "success": true,  "emails": [    "user@example.com"  ]}

Rate limiting

This endpoint is rate limited. See Rate limiting for limits, the 429 response format, and integration guidance.