Skip to main content
POST
Create a magic link (customer portal)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The magic link to create for a customerId

customerId
string
required

ID of the customer

Example:

"cus_mi4f0oda6x9m7gcsvjk0ole1"

Response

The created magic link

object
enum<string>
required
Available options:
magic_link

URL of the magic link

Example:

"https://nomos.customerportal.energy/?token_hash=1234567890&type=magiclink&next=/overview"