Endpoints to manage the service settings
Oneshot API (1.0.0)
One-Shot API for single-use certificate electronic signatures. All endpoints are relative to the base path /oneshot/api/v1.
For the public testing environment (sandbox URL, RAO token, prerequisites, and how to use the test Optimizer), see the Get started guide in the One-Shot documentation: Get started with One-Shot.
https://optimizer-developers.uanataca.com/oneshot/api/v1/
⚠ Required only if not set at settings.toml file. See Update Settings endpoint.
⚠ Required only if not set at settings.toml file. See Update Settings endpoint.
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid \
-H 'Content-Type: application/json' \
-d '{
"mobile_phone_number": "string",
"email": "string",
"registration_authority": "string",
"profile": "string",
"billing_username": "string",
"billing_password": "string",
"env": "sandbox"
}'{ "status": "success", "messsage": "VideoID created with pk 16673", "detail": { "videoid_link": 16673, "request_pk": 923056 } }
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/validate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/validate'{ "status": "success", "message": "VideoID validated" }
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/approve
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/approve'{ "status": "success", "message": "VideoID approved" }
The token containing RAO's credentials.
⚠ Not required when RAO's credentials (username, password, pin) are included as fields in this call.
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/refuse
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/refuse' \
-H 'Content-Type: application/json' \
-d '{
"token": "string",
"username": "string",
"password": "string",
"pin": "string",
"rao": "string",
"reason": "string"
}'- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/evidences
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/evidences' \
-H 'Content-Type: application/json' \
-d '{
"acceptance": {
"description": "string",
"url-doc-privacypolicy": "string",
"ip": "string",
"url-web-videoid": "string",
"user-agent": "string",
"date": "string",
"url-doc-termsconditions": "string"
},
"videoid_data": {
"images": {
"document_front": "string",
"document_rear": "string",
"document_photo": "string",
"document_owner": "string"
},
"ocr_data": {
"given_name": "string",
"surname_1": "string",
"surname_2": "string",
"mobile_phone_number": "string",
"email": "string",
"serial_number": "string",
"id_document_type": "IDC",
"id_document_country": "string"
},
"security_checks": {
"otp_validation": true,
"documents_match": true,
"data_integrity": true,
"document_notcopy": true,
"document_notexpired": true,
"document_notunderage": true,
"liveliness": true
},
"similarity_level": 0
}
}'{ "status": "success", "message": "VideoID evidences uploaded" }
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/video
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/video' \
-H 'Content-Type: multipart/form-data' \
-F video=string{ "status": "success", "message": "VideoID video uploaded" }
- Public testing environment
https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/video
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://optimizer-developers.uanataca.com/oneshot/api/v1/api/v1/videoid/{videoid_pk}/video'