Whapi Sessions
Connector for the whapi-sessions API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://sandbox.whapi.com/v2/sessions - Auth:
bearer(pass your key via theapiKeyinput)
Operations
validatesession— GET /tickets/{tgt} — Checks the validity of a session ticket.getserviceticket— GET /tickets/{tgt}/serviceTicket — Obtains a one-time Service Ticket that can be used to access other William Hill services.login— POST /tickets — Logs in a customer and obtains an authentication ticket.logout— DELETE /tickets/{tgt} — Log out a customer.
Inputs
apiKey— your whapi-sessions API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: validatesession
apiKey: <your key>