Annotation
Start validation for embedded use
Start embedded annotation.
Embedded annotation cannot be started by users with admin or organization group admin roles. We strongly recommend starting embedded annotations by users with annotator_embedded user role and permissions for the given queue only to limit the scope of actions that user is able to perform to required minimum.
Returns object with url that specifies URL to be used in the browser iframe/popup window. URL includes a token that is valid for this document only for a limited period of time.
post/api/v1/annotations/{annotationID}/start_embedded
Path parameters
annotationIDinteger required
Annotation ID
Request body
Example request
{
"return_url": "https://service.com/return",
"cancel_url": "https://service.com/cancel",
"delete_url": "https://service.com/delete",
"postpone_url": "https://service.com/postpone",
"max_token_lifetime_s": 3600
}Response
Embedded URL created successfully
Example response
{
"url": "https://example.rossum.app/embedded/document/12345#authToken=db313f24f5738c8e04635e036ec8a45cdd6d6b03"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.