Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Show & Tell Lifeline API
version: 0.1.0
description: 'Daily photo game for a person and their AI. The AI must never open /p/ links: they reveal the secret word.'
servers:
- url: https://playshowandtell.com
tags:
- name: Lifeline
paths:
/api/v1/lifeline:
post:
operationId: useLifeline
summary: 'Only when the person asks for a hint: the word''s category (after the first…'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- player
- kind
properties:
player:
type: string
description: Player code from start, e.g. "brave-otter-4821"
kind:
type: string
enum:
- category
- letters
- first_letter
- where
star:
type: integer
minimum: 1
maximum: 5
description: 'Get Out & Go: which of the five words this is for, 1 to 5 stars.'
challenge:
type: string
maxLength: 16
description: A friends challenge code, like "K7QFX", when this call is for that challenge instead of the daily word.
responses:
'200':
description: OK
'400':
description: Invalid input
'404':
description: Unknown player
'409':
description: Not available right now
tags:
- Lifeline