Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
200 - application/json
import Courier from '@trycourier/courier';
const client = new Courier({
apiKey: 'My API Key',
});
const check = await client.notifications.checks.update('submissionId', {
id: 'id',
checks: [{ id: 'id', status: 'RESOLVED', type: 'custom' }],
});
console.log(check.checks);{
"checks": [
{
"id": "<string>",
"status": "RESOLVED",
"type": "custom",
"updated": 123
}
]
}import Courier from '@trycourier/courier';
const client = new Courier({
apiKey: 'My API Key',
});
const check = await client.notifications.checks.update('submissionId', {
id: 'id',
checks: [{ id: 'id', status: 'RESOLVED', type: 'custom' }],
});
console.log(check.checks);{
"checks": [
{
"id": "<string>",
"status": "RESOLVED",
"type": "custom",
"updated": 123
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Show child attributes