Account Settings
Update account settings and webhooks
Update your account settings including name and webhook URL.
Update Account Settings
PATCH /v1/account/settings/Request Body
{
"name": "Updated Company Name",
"webhook_url": "https://example.com/webhooks/missinglettr"
}Example
curl -X PATCH "https://api.missinglettr.com/v1/account/settings/" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Corp",
"webhook_url": "https://acme.com/api/webhooks"
}'Response
{
"id": 123,
"name": "Acme Corp",
"webhook_url": "https://acme.com/api/webhooks",
"updated_at": "2025-01-15T14:30:00Z"
}Regenerate API Key
Regenerate your primary API key. This immediately invalidates the old key:
POST /v1/account/api-key/regenerate/Example
curl -X POST "https://api.missinglettr.com/v1/account/api-key/regenerate/" \
-H "Authorization: Bearer YOUR_OLD_API_KEY"Response
{
"api_key": "ml_prod_new_key_xyz789",
"message": "API key regenerated successfully. Update your applications immediately.",
"old_key_invalidated_at": "2025-01-15T14:35:00Z"
}Warning: Regenerating your API key immediately invalidates the old key. Update all your applications before regenerating to avoid service interruption.
Webhook URL
Set a webhook URL to receive real-time notifications about:
- Posts published
- Posts failed
- Social accounts disconnected
- Campaign completed
- Queue processed
See Webhooks Documentation for full event details.