Update Sender ID
curl --request PUT \
--url https://api.example.com/api/v2/SenderId \
--header 'Content-Type: application/json' \
--data '
{
"SenderId": "<string>",
"Purpose": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
'import requests
url = "https://api.example.com/api/v2/SenderId"
payload = {
"SenderId": "<string>",
"Purpose": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
SenderId: '<string>',
Purpose: '<string>',
ApiKey: '<string>',
ClientId: '<string>'
})
};
fetch('https://api.example.com/api/v2/SenderId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ErrorCode": 123,
"ErrorDescription": "<string>",
"Data": "<string>"
}Sender ID Management
Update Sender ID
Update an existing sender ID
Update Sender ID
curl --request PUT \
--url https://api.example.com/api/v2/SenderId \
--header 'Content-Type: application/json' \
--data '
{
"SenderId": "<string>",
"Purpose": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
'import requests
url = "https://api.example.com/api/v2/SenderId"
payload = {
"SenderId": "<string>",
"Purpose": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
SenderId: '<string>',
Purpose: '<string>',
ApiKey: '<string>',
ClientId: '<string>'
})
};
fetch('https://api.example.com/api/v2/SenderId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ErrorCode": 123,
"ErrorDescription": "<string>",
"Data": "<string>"
}Update Sender ID
Update the purpose or description of an existing sender ID.curl -X PUT "https://app.notify.ng/api/v2/SenderId?id=94" \
-H "Content-Type: application/json" \
-d '{
"SenderId": "YOURBRAND",
"Purpose": "Updated purpose description",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}'
const response = await fetch('https://app.notify.ng/api/v2/SenderId?id=94', {
method: 'PUT',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
SenderId: 'YOURBRAND',
Purpose: 'Updated purpose description',
ApiKey: 'YOUR_API_KEY',
ClientId: 'YOUR_CLIENT_ID'
})
});
const data = await response.json();
console.log(data);
import requests
url = "https://app.notify.ng/api/v2/SenderId?id=94"
data = {
"SenderId": "YOURBRAND",
"Purpose": "Updated purpose description",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}
response = requests.put(url, json=data)
result = response.json()
print(result)
Parameters
Request Body
Response
Success Response
{
"ErrorCode": 0,
"ErrorDescription": "Success",
"Data": "SenderId updated Successfully."
}
Use Cases
- Purpose updates: Change the description of your sender ID
- Documentation: Keep sender ID purposes up to date
- Compliance: Update sender ID information for regulatory requirements

