Update a reminder
Updates a reminder.
/v1/hq/reminders/{reminder_id}The Noona HQ API uses Bearer token for authentication.
Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.
Authorization: Bearer your-token
In: header
Path Parameters
"dwawd8awudawd"Query Parameters
Request Body
application/json
"Lunch reminder"Employee IDs for employee-specific reminders
Event type IDs for event-specific reminders
How many minutes before the event to send the reminder
int321440Channels through which the reminder should be sent
A map of translations for a given attribute.
The key is the language code, and the value is the translated string.
{
"is": "King Accounting tenging",
"fr": "Connexion King Accounting"
}Marks the reminder as the company's default. Setting true replaces sms_content_translations with the base template and requires a global reminder. Omit to re-evaluate: timing or active changes retain default, translation or scoping changes revert to custom.
Whether the reminder is active or inactive
Response Body
application/json
application/json
curl -X POST "https://api.noona.is/v1/hq/reminders/dwawd8awudawd" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "8wa9uiah28dawd123",
"title": "Lunch reminder",
"company": "string",
"employees": [
"emp123",
"emp456"
],
"event_types": [
"svc123",
"svc456"
],
"minutes_before": 1440,
"notification_channels": [
"sms"
],
"sms_content": "Hi {{customer_name}}, this is a reminder that {{employee_name}} will see you at {{event_time}} at {{company_name}}",
"sms_content_translations": {
"is": "King Accounting tenging",
"fr": "Connexion King Accounting"
},
"default": true,
"active": true,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}{
"type": "validation",
"message": "string",
"user_message": "A global reminder with this time period already exists"
}