Triage
Update the triage profile
PATCH
https://getinboxtriage.com/api/triage-profile
Deep-merges a patch onto the profile. VIP entries are lowercased and deduplicated.
Headers
| Name | Type | Required | Description |
|---|
Authorization |
string |
Required |
Bearer followed by your API key. |
Content-Type |
string |
Required |
application/json |
Request body
| Name | Type | Required | Description |
|---|
defaults |
object |
Optional |
Merged onto the account defaults. |
byInboxId |
object |
Optional |
Per-inbox overrides keyed by inbox id. null for an inbox removes its override. |
setupCompletedAt |
string |
Optional |
ISO time the person finished first setup. |
Response
200 OK.
| Name | Type | Description |
|---|
profile.version |
number |
Schema version of the profile. |
profile.defaults |
object |
Account defaults: cadence, junkCategories, defaultActions, vip (people and domains), quietHours. |
profile.byInboxId |
object |
Per-inbox overrides keyed by inbox id. |
profile.setupCompletedAt |
string | null |
When the person finished first setup. |
setupCompleted |
boolean |
true once setupCompletedAt is set. |
Errors
| Status | Error | Meaning |
|---|
| 400 |
invalid_request |
The patch is not valid. error_description says what was wrong. |
Any route can also return 401 for a bad key, 402 when the trial ended or payment failed, and 429 when you send too many requests. See Errors.