POST
/
admin
/
magic_link
Get a magic link for the customer portal
curl --request POST \
  --url https://api.nomos.energy/admin/magic_link \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "subscriptionId": "sub_hms7ous6x2rkosrjdrge7r2u"
}'
{
  "object": "magic_link",
  "link": "https://nomos.customerportal.energy/?token_hash=1234567890&type=magiclink&next=/overview"
}

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 subscriptionId

The body is of type object.

Response

200
application/json

The created magic link

The response is of type object.