Skip to Content

Update a sender

Updates a sender's display name and reply-to addresses without re-verification.

PATCH
/v1/email/senders/{id}

Updates a sender's display name and reply-to addresses without re-verification. Omit a field to leave it unchanged. Set it to null to clear it. Set replyToEmails to an empty array to suppress inherited reply-to addresses.

Authorization

apiKey
headerx-api-key<token>

Path Parameters

id*string
Match^sender_[0-9a-hjkmnp-tv-z]{16,24}$

Request Body

application/json
  1. body
name?|null|null
replyToEmails?array<string>|null|null

Response Body

SuccessResult

application/json
  1. response
success*boolean
message*string
Example Request
import { createClient } from "samva";

const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });

const result = await samva.email.updateSender({
  "id": "example"
});
Example Response
{
  "success": true,
  "message": "string"
}

Related documentation