Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Contact support
Update the collection settings of the account; omitted fields keep their value.
cURL
curl --request PATCH \ --url https://api.hyperline.co/v1/collections/settings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "general_context": "<string>", "sender_email_domain_id": "<string>", "quiet_hours": { "start_time": "20:00", "end_time": "08:00", "skip_weekends": true }, "daily_cap_per_customer": 10, "credit_note_approval_threshold": "<string>", "automatic_mode_enabled": true } '
import requests url = "https://api.hyperline.co/v1/collections/settings" payload = { "general_context": "<string>", "sender_email_domain_id": "<string>", "quiet_hours": { "start_time": "20:00", "end_time": "08:00", "skip_weekends": True }, "daily_cap_per_customer": 10, "credit_note_approval_threshold": "<string>", "automatic_mode_enabled": True } headers = { "Authorization": "Bearer <token>", "Content-Type": "application/json" } response = requests.patch(url, json=payload, headers=headers) print(response.text)
const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: JSON.stringify({ general_context: '<string>', sender_email_domain_id: '<string>', quiet_hours: {start_time: '20:00', end_time: '08:00', skip_weekends: true}, daily_cap_per_customer: 10, credit_note_approval_threshold: '<string>', automatic_mode_enabled: true }) }; fetch('https://api.hyperline.co/v1/collections/settings', 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.hyperline.co/v1/collections/settings", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "PATCH", CURLOPT_POSTFIELDS => json_encode([ 'general_context' => '<string>', 'sender_email_domain_id' => '<string>', 'quiet_hours' => [ 'start_time' => '20:00', 'end_time' => '08:00', 'skip_weekends' => true ], 'daily_cap_per_customer' => 10, 'credit_note_approval_threshold' => '<string>', 'automatic_mode_enabled' => true ]), CURLOPT_HTTPHEADER => [ "Authorization: Bearer <token>", "Content-Type: application/json" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://api.hyperline.co/v1/collections/settings" payload := strings.NewReader("{\n \"general_context\": \"<string>\",\n \"sender_email_domain_id\": \"<string>\",\n \"quiet_hours\": {\n \"start_time\": \"20:00\",\n \"end_time\": \"08:00\",\n \"skip_weekends\": true\n },\n \"daily_cap_per_customer\": 10,\n \"credit_note_approval_threshold\": \"<string>\",\n \"automatic_mode_enabled\": true\n}") req, _ := http.NewRequest("PATCH", url, payload) req.Header.Add("Authorization", "Bearer <token>") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
HttpResponse<String> response = Unirest.patch("https://api.hyperline.co/v1/collections/settings") .header("Authorization", "Bearer <token>") .header("Content-Type", "application/json") .body("{\n \"general_context\": \"<string>\",\n \"sender_email_domain_id\": \"<string>\",\n \"quiet_hours\": {\n \"start_time\": \"20:00\",\n \"end_time\": \"08:00\",\n \"skip_weekends\": true\n },\n \"daily_cap_per_customer\": 10,\n \"credit_note_approval_threshold\": \"<string>\",\n \"automatic_mode_enabled\": true\n}") .asString();
require 'uri' require 'net/http' url = URI("https://api.hyperline.co/v1/collections/settings") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Patch.new(url) request["Authorization"] = 'Bearer <token>' request["Content-Type"] = 'application/json' request.body = "{\n \"general_context\": \"<string>\",\n \"sender_email_domain_id\": \"<string>\",\n \"quiet_hours\": {\n \"start_time\": \"20:00\",\n \"end_time\": \"08:00\",\n \"skip_weekends\": true\n },\n \"daily_cap_per_customer\": 10,\n \"credit_note_approval_threshold\": \"<string>\",\n \"automatic_mode_enabled\": true\n}" response = http.request(request) puts response.read_body
{ "general_context": "<string>", "sender_email_domain_id": "<string>", "quiet_hours": { "start_time": "20:00", "end_time": "08:00", "skip_weekends": true }, "daily_cap_per_customer": 1, "credit_note_approval_threshold": "100", "automatic_mode_enabled": true }
{ "message": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Settings to change
Context the collection agent reads on every case: tone, business rules, what it may offer.
10000
ID of the verified email domain the collection emails are sent from. null sends from the Hyperline domain.
null
Hours during which no collection email is sent, in the customer's timezone. null disables quiet hours.
Show child attributes
Maximum number of collection emails sent to a customer per day.
1 <= x <= 20
Credit note amount, in major units, above which the agent needs an approval. null means every credit note needs one.
^\d+(\.\d+)?$
Whether playbooks in automatic mode may act without a person's approval.
1
"100"
Was this page helpful?