Skip to main content
POST
/
clients
/
portal-session
get client portal url
curl --request POST \
  --url https://api.leanpay.fr/v1/public/clients/portal-session \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "expiresInSeconds": 2
}
'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json
client
object
required
expiresInSeconds
integer
Required range: x >= 1

Response

Returns the client portal url

url
string<uri>