Prvé PSB API volanie: GET /api/v1/me na overenie tokenu, party kontextu a prostredia.
Overte prihlasovacie údaje a prostredie read-only smoke testom skôr, než odošlete dokumenty.
GET /api/v1/me HTTP/1.1
Host: accp-psb.econnect.eu
Accept: application/json
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
TOKEN=$(curl -s -X POST https://accp-identity.econnect.eu/connect/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials" \
-d "client_id=your-client-id" \
-d "client_secret=your-client-secret" \
-d "scope=ap" | jq -r '.access_token')
curl -s \
-H "Accept: application/json" \
-H "Authorization: Bearer $TOKEN" \
https://accp-psb.econnect.eu/api/v1/me | jq .
200 s JSON (žiadne HTML prihlásenie ani gateway chyba)401403scope=ap a setup účtuaccp-*.econnect.eu