Edit sending identity
curl --request PATCH \
--url https://app.nudgen.net/api/v1/settings/sending-domains/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"senderEmail": "jsmith@example.com",
"senderName": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({senderEmail: 'jsmith@example.com', senderName: '<string>'})
};
fetch('https://app.nudgen.net/api/v1/settings/sending-domains/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/settings/sending-domains/{id}"
payload = {
"senderEmail": "jsmith@example.com",
"senderName": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}API reference
Edit sending identity
Owner or admin only. Updates sender email and sender name for an existing domain.
PATCH
/
api
/
v1
/
settings
/
sending-domains
/
{id}
Edit sending identity
curl --request PATCH \
--url https://app.nudgen.net/api/v1/settings/sending-domains/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"senderEmail": "jsmith@example.com",
"senderName": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({senderEmail: 'jsmith@example.com', senderName: '<string>'})
};
fetch('https://app.nudgen.net/api/v1/settings/sending-domains/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.nudgen.net/api/v1/settings/sending-domains/{id}"
payload = {
"senderEmail": "jsmith@example.com",
"senderName": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Personal Access Token created from Settings -> API Keys.
Path Parameters
Query Parameters
ID of the currently active workspace. Must match the authenticated team.
Body
application/json
Response
Domain updated
Was this page helpful?