v1
latestOpenAPI 3.0.02026-07-263365201.7 KBAuthentication
Create a magic link (customer portal)
This endpoint can be used to create a customer portal magic link. The link (returned in the link property) allows your customer to directly access the customer portal. This is useful if you want to integrate the customer portal into your own application. Remember that it is your responsibility to make sure to provide the correct customerId for your user you'd like to log in.
post/admin/magic_link
Request body
Example request
{
"customerId": "cus_mi4f0oda6x9m7gcsvjk0ole1"
}Response
The created magic link
Example response
{
"link": "https://nomos.customerportal.energy/?token_hash=1234567890&type=magiclink&next=/overview"
}