Annotation
Create embedded URL
Similar to start embedded annotation endpoint but can be called for annotations with all statuses and does not switch status.
Embedded annotation cannot be started by users with admin or organization group admin roles. We strongly recommend creating embedded URLs 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.
post/api/v1/annotations/{annotationID}/create_embedded_url
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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",
"status": "to_review"
}Changes
No recorded changes to this operation across all 14 revisions of this API.