Contacts
Delete contact
Permanently removes a contact from your workspace. Requires contacts:write scope.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token authentication. Use a Regular API key for email sending, or an Admin API key for marketing and automation endpoints.
Get your API keys from Settings → API Keys (regular) or Settings → Admin API Keys (admin) in the dashboard.
In: header
Query Parameters
id*string
Contact ID.
Format
uuidResponse Body
application/json
curl -X DELETE "https://api.keplars.com/api/v1/public/contacts/delete-contact?id=497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
{
"success": false,
"error": "VALIDATION_ERROR",
"message": "Field 'to' is required"
}Add contact to audience POST
Add a contact to an audience. If a contact with the same email already exists in the workspace it is reused; otherwise a new contact is created. Requires `contacts:write` scope.
Get contact GET
Retrieve a contact by ID or email address. Provide exactly one of `id` or `email`. Requires `contacts:read` scope.