Skip to content

Record that requests, or reminders, were sent (ANALYST+, dashboard user)

POST
/statement-requests/mark-sent
curl --request POST \
--url https://api.invogi.com/v1/statement-requests/mark-sent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "requestIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "reminder": true }'

Marks prepared requests sent and starts the reply-by clock; whoever sent one is told once if the supplier has not answered by then. With reminder: true, records a reminder for requests already sent: the reply-by date moves on 14 days and the sender is told again if that passes too.

Media typeapplication/json
object
requestIds
required
Array<string>
>= 1 items <= 500 items
reminder

Record a reminder for requests already sent

boolean

Example generated

{
"requestIds": [
"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
],
"reminder": true
}

How many were marked

Media typeapplication/json
object
sent
integer

Example generated

{
"sent": 1
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

API key lacks required scope/role

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}