Get a login link
curl --request GET \
--url https://app.reinvented.education/api/clients/users/{user_id}/magic-link/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.reinvented.education/api/clients/users/{user_id}/magic-link/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.reinvented.education/api/clients/users/{user_id}/magic-link/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "https://bit.ly/3xExample"
}{
"detail": "Authentication credentials were not provided."
}{
"detail": "Not found."
}Users
Get a login link
Returns a URL that logs the user in. With redirect = feed or eme-report it
generates a magic link to that page (shortened with Bitly unless bitly=false).
Otherwise it returns the user’s profile URL (optionally at path) with an auth token.
Treat the URL as a credential.
GET
/
clients
/
users
/
{user_id}
/
magic-link
/
Get a login link
curl --request GET \
--url https://app.reinvented.education/api/clients/users/{user_id}/magic-link/ \
--header 'Authorization: <api-key>'import requests
url = "https://app.reinvented.education/api/clients/users/{user_id}/magic-link/"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.reinvented.education/api/clients/users/{user_id}/magic-link/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "https://bit.ly/3xExample"
}{
"detail": "Authentication credentials were not provided."
}{
"detail": "Not found."
}
