Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Zamna Session API

The Session API from Zamna — 9 operation(s) for session.

Zamna Session API is one of 4 APIs that Zamna publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Session. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 9 operations across 9 paths, and defines 100 schemas. It is described by OpenAPI 3.1.0, at version 2.18.

Requests are made against the base URL https://paxcheck-app-dev.staging.zamna.com.

9 operations 9 paths 100 schemas 2 GET7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.18
Base URL
https://paxcheck-app-dev.staging.zamna.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Zamna Session API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth).

Paths & Operations 9

Across 9 paths, the API surfaces 9 operations — 2 GET, 7 POST. Each is listed below with its method, path, parameters, and response codes.

Session 9
GET
/session/{sessionId}
Get MultiPax session
getSession 3 params → 200401
GET
/session/{sessionId}/pax-session/{paxSessionId}
Get Pax session
getPaxSession 4 params → 200401
POST
/session/{sessionId}/pax-session/{paxSessionId}/address
Add address to pax session
addAddress 4 params body → 200401
POST
/session/{sessionId}/pax-session/{paxSessionId}/answers
Provide nationality and/or birthdate and/or set answers to questions
postAnswers 4 params body → 200401
POST
/session/{sessionId}/pax-session/{paxSessionId}/apply-document/manual
Apply manually provided non-travel document data
applyManualDocument 4 params body → 200401
POST
/session/{sessionId}/pax-session/{paxSessionId}/apply-document/recognised
Apply document recognised by /recognise-document
applyRecognisedDocument 4 params body → 200401
POST
/session/{sessionId}/pax-session/{paxSessionId}/apply-document/travel-document
Apply manually provided travel document data
applyTravelDocument 4 params body → 200401
POST
/session/{sessionId}/pax-session/{paxSessionId}/recognise-document
Recognise document (photo, scan or PDF)
recogniseDocument 3 params body → 200401
POST
/session/{sessionId}/set-consent
Set consent for MultiPax session
setConsent 3 params body → 200401

Schemas 100

The contract defines 100 schemas that model the data the API accepts and returns. The most detailed are AllowedDocument (13 properties), DocumentRequirement (13 properties), Checklist (10 properties), InfoItem (10 properties). Each schema is shown below with its type and property counts.

DocumentProvisionMethod
string
AllowedDocument
object
Describes a document which can be used to resolve checklist item
13 properties 9 required
ComposedAnd
object
Composed checklist item requirement: And([ChecklistItemRequirement])
3 properties 3 required
FieldMismatch
object
Rules mismatch: specific document field
2 properties 2 required
ApiManualDocument
ComposedOr
object
Composed checklist item requirement: Or([ChecklistItemRequirement])
3 properties 3 required
IcaoSex
string
ApplyManualDocumentRequest
object
Request to provide manually entered non-travel document data to resolve checklist item(s)
2 properties 2 required
AllowedDocumentFormat
string
NationalityInMismatch
object
Rules mismatch: nationality
3 properties 3 required
ApplyTravelDocumentRequest
object
Request to provide manually input travel document data to try resolve checklist item(s). When checklistitemid is provided, travel document data applies directl…
2 properties 2 required
QuestionTitle
object
Question title and optional subtitle
2 properties 1 required
HaveDocumentQuestion
object
A Yes/No question (boolean), manifested through a positive statement of 'I do have {document type}' format
10 properties 7 required
FileTooLarge
object
Doc recognition error: file is too large
2 properties 2 required
SetAnswersRequest
object
Request to set nationality, birthdate, answers to questions and confirm/refute declarations
5 properties
FromList
object
Answer to pick-from-list-question
3 properties 3 required
FileTypesNotSupported
object
Doc recognition error: file type not supported
3 properties 3 required
Check
object
Checklist item requirement: agent check (eg "check: 2 blank pages")
2 properties 2 required
ChecklistItemRequirement
RequiredAction
string
ExpiryDateGteMismatch
object
Rules mismatch: expiry date greater than or equal to
3 properties 3 required
RecogniseDocumentResponse
object
2 properties
GetPaxSessionResponse
object
2 properties
RuleOrigin
object
Origin of the rule
2 properties 2 required
SetAnswersResponse
object
2 properties
ChecklistStatus
string
FieldIn
object
Checklist item requirement: field value IN list ({field} in [{values}], eg docSubType in [DIPLOMATIC,SERVICE])
4 properties 4 required
AddAddressResult
object
1 property 1 required
RuleType
string
ApplyDocumentError
DocumentMrzConfiguration
string
OnwardTicket
object
Manually entered return or onward ticket
2 properties 2 required
Pax
object
Passenger basic data (first name, last name, birthdate)
3 properties
IdMismatches
object
A record of mismatches to booking for document applied
8 properties 1 required
DocumentSidesConfiguration
string
ApplyManualDocumentResponseError
object
2 properties 1 required
FieldCompare
object
Checklist item requirement: compare field value ({field} {operator} {value}, eg expiryDate = 2025-10-25)
5 properties 5 required
ApplyManualDocumentResult
object
2 properties 2 required
Bool
object
Answer to either yes-no-question or have-document-question
3 properties 2 required
Checklist
object
Comprises checklist statuses, questions/answers and checklist items
10 properties 5 required
RecognizedDocumentKindMismatch
object
Doc recognition error: wrong document type
2 properties 2 required
MrzToVizMismatch
object
Doc recognition error: MRZ to VIZ mismatch
1 property 1 required
Question
FieldNotIn
object
Checklist item requirement: field value NOT IN list ({field} not in [{values}], eg docSubType not in [B1,B2,B1/B2])
4 properties 4 required
Address
object
7 properties
ChecklistItemType
object
Checklist item type, eg RESIDENCEPERMIT/USA which represents USA Green Card
2 properties 1 required
TravelDocumentRequired
object
Apply file: Passport have to be provided first
1 property 1 required
Journey
object
Journey record (departure, transit, arrival) - API output
4 properties 3 required
PickFromListQuestion
object
A question with options to choose from, requires single answer (option id)
8 properties 5 required
RulesMismatch
NotAllSidesScannedError
object
Doc recognition error: not all required document sides were provided
1 property 1 required
DocumentRequirement
object
Document requirement with status and acceptable documents (and methods) to resolve it
13 properties 7 required
DocumentTypeNotSupported
object
Doc recognition error: file type not supported
1 property 1 required
SetConsentRequest
object
Request to set consent response for MultiPax session
1 property 1 required
ApplyTravelDocumentResponse
object
2 properties
DeclarationItem
object
A Yes/No question (boolean)
7 properties 5 required
AddAddressResponse
object
2 properties
ArrivalPoint
object
Arrival point - API output
3 properties 3 required
ApplyRecognisedDocumentResult
object
2 properties 1 required
Not
object
Composed checklist item requirement: Not(ChecklistItemRequirement)
3 properties 3 required
Option
object
Option to choose for pick-from-list-question
2 properties 2 required
ApplyRecognisedDocumentResponseError
object
2 properties
ChecklistResolutionStatus
string
PaxSession
object
Pax session (ie passenger)
8 properties 6 required
IcaoNationality
string
DocumentSidesExpectation
string
TravelDocument
object
Travel document structure for manual input using /apply-document/travel-document
10 properties 6 required
Answer
ErrorContainer
object
1 property
InfoItem
object
Info item - can't be resolved manually
10 properties 5 required
NoBarcodeScannedError
object
Doc recognition error: barcode was not present
1 property 1 required
NoMrzSideScannedError
object
Doc recognition error: mrz document side wasn't provided
1 property 1 required
ApplyRecognisedDocumentResponse
object
2 properties
Operator
string
UnknownRecognitionError
object
Doc recognition error: unknown error
2 properties 2 required
RulesMismatches
object
2 properties 2 required
ApplyRecognisedDocumentRequest
object
Request to provide scanned or uploaded images/files to resolve checklist item(s)
6 properties 6 required
RecogniseDocumentResult
object
3 properties 3 required
ApplyManualDocumentResponse
object
2 properties
RecogniseDocumentResponseError
object
2 properties
MrzVerificationError
object
Doc recognition error: MRZ verification failed
1 property 1 required
GetSessionResponse
object
2 properties
BarcodeToDocMismatch
object
Doc recognition error: Barcode data to document mismatch
1 property 1 required
ChecklistItem
GeneralErrorCode
string
ApplyTravelDocumentResponseError
object
2 properties 1 required
Airport
object
Localised Airport record
3 properties 3 required
DeparturePoint
object
Departure point - API output
3 properties 3 required
ChecklistItemStatus
string
ApplyTravelDocumentResult
object
2 properties 2 required
SetConsentResponse
object
2 properties
QuestionSampleImage
object
Question sample image with a name to form expressions like 'Sample of {title}'
2 properties 1 required
SignalsMismatches
object
A record of mismatches to Zamna Signals for document applied
2 properties 2 required
MultipaxSession
object
MultiPax session (ie booking)
3 properties 3 required
NoItemsToApplyDocumentTo
object
Apply file: Found no items in checklist to apply document provided
1 property 1 required
GeneralError
object
3 properties 1 required
TransitPoint
object
Transit point - API output
4 properties 4 required
RecognizeDocumentError
AllowedDocumentsSet
object
A set of documents with which this checklist item can be resolved
2 properties 2 required
AddAddressRequest
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zamna-session-api-openapi.yml Raw ↑

Other APIs Zamna publishes across the network.

Zamna Start API
Zamna Start With Booking Id And Surname API
Zamna Start2 API