Identity
Register device
Idempotent device registration by public key (ES256). Returns device_id and device_token. For request signing, anti-replay, and limit details, see docs/security.md.
post/register
Request
- Base URL: https://pdf2md.dev
- URL: https://pdf2md.dev/register
- Auth: none required
Request body
Example request
{
"public_key_spki_b64": "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsT3..."
}Response
Device registered
Example response
{
"device_id": "4b6b4b1c-7b6d-4c5d-9f70-2f4d8e7b1234",
"device_token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_at": "2024-12-31 23:59:59+00:00"
}Changes
No recorded changes to this operation across all 1 revision of this API.