Create Deadline Reminder
curl --request POST \
--url https://api.signa.so/v1/deadline-reminders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.signa.so/v1/deadline-reminders"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.signa.so/v1/deadline-reminders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.signa.so/v1/deadline-reminders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.signa.so/v1/deadline-reminders"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.signa.so/v1/deadline-reminders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.signa.so/v1/deadline-reminders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyDeadlines
Create Deadline Reminder
Email an address before your trademark deadlines fall due
POST
/
v1
/
deadline-reminders
Create Deadline Reminder
curl --request POST \
--url https://api.signa.so/v1/deadline-reminders \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.signa.so/v1/deadline-reminders"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.signa.so/v1/deadline-reminders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.signa.so/v1/deadline-reminders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.signa.so/v1/deadline-reminders"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.signa.so/v1/deadline-reminders")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.signa.so/v1/deadline-reminders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyCredits: 0 per request.
Subscribes an email address to deadline reminders. Requires
The response is the subscription with
What a reminder contains and when it is sent is in
Deadline Reminders.
portfolios:manage and an Idempotency-Key header. Free.
| Field | Required | Meaning |
|---|---|---|
email | yes | Where reminders go: a person or a shared docketing inbox. |
portfolio_id | no | Limit the reminders to one portfolio. Omit it for the whole docket. 404 for a portfolio outside your organization. |
offsets | no | Days before each due date to remind, 0 (the due date itself) to 365. Default [90, 30, 7, 1]. Up to 8 values. |
201 Created and status: "pending".
Signa emails the address a confirmation link at once, and sends no reminder
until the address owner confirms. Once they do, status turns active.
The confirmation link works for 7 days. If the email provider refuses the
confirmation email, the request fails with 503 and nothing is created or
changed; retry later.
An address can have one subscription per scope (a portfolio, or the whole
docket). Creating again while that subscription is still pending mails a
fresh confirmation link and takes the new offsets: use it when the first
email did not arrive or its link expired. Once the subscription is active, a
second one for the same scope returns 409 deadline_reminder_exists. An
organization can have 50 subscriptions; a 51st returns 409
resource_quota_exceeded.
Confirmation emails are limited: an address receives at most 3 a day from
all organizations together, and an organization sends at most 50 a day.
Past either limit the request returns 429 rate_limited with Retry-After,
and nothing is created or sent.
const reminder = await signa.deadlineReminders.create({
email: 'docketing@example.com',
offsets: [90, 30, 7, 1],
});
console.log(reminder.status); // "pending" until the address confirms