HydraCore
API by router

End user portal internal

Issue End User Token

Issue an end-user JWT after the agent verifies worker identity.

Called by the runtime after channel binding verification (e.g. worker verified via SMS/WhatsApp). Returns a short-lived JWT with person_id as the subject.

POST
/internal/v1/instances/{instance_id}/end-user-token

Path Parameters

instance_idInstance Id
Formatuuid
customer_idCustomer Id
Formatuuid
person_idPerson Id
Formatuuid

Response Body

curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/end-user-token" \  -H "Content-Type: application/json" \  -d '{    "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",    "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}