V1 endpoints
These endpoints require a Portal API Key (aka "Custodian API Key") as a bearer token.
Last updated
Was this helpful?
These endpoints require a Portal API Key (aka "Custodian API Key") as a bearer token.
Last updated
Was this helpful?
Before going live with real users, always ensure that you create clients using a from your Portal's Production environment. Read more on going live with real users.
POST
https://api.portalhq.io/api/v1/custodians/clients
Registers a new client and returns a client session token.
Authorization*
String
Bearer <Portal API Key>
Content-Type*
String
application/json
isAccountAbstracted
Boolean
The client will use ERC-4337 Account Abstraction.
GET
https://api.portalhq.io/api/v1/custodians/clients/{clientId}
Fetches the specified client for the authorized custodian.
clientId*
String
The ID of a client.
Authorization*
String
Bearer <Portal API Key>
Content-Type*
String
application/json
GET
https://api.portalhq.io/api/v1/custodians/clients
Fetches all clients for the authorized custodian.
Authorization*
String
Bearer <Portal API Key>
Content-Type*
String
application/json
POST
https://api.portalhq.io/api/v1/custodians/clients/{clientId}/session
Refreshes a client's Client Session Token.
clientId
String
The ID of a client.
Authorization*
String
Bearer <Portal API Key>
Content-Type*
String
application/json
GET
https://api.portalhq.io/api/v1/custodians/clients/{clientId}/web-otp
Generate a one-time password for a client.
clientId*
String
The ID of a client.
Authorization*
String
Bearer <Portal API Key>
Content-Type*
String
application/json