curl --request POST \
--url https://api.example.com/api/auth/admin/sessions \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"profile": {
"name": "<string>",
"avatar_url": "<string>"
},
"metadata": {},
"emailVerified": true,
"providers": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"accessToken": "<string>"
}Authenticates admin user for dashboard access
curl --request POST \
--url https://api.example.com/api/auth/admin/sessions \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"profile": {
"name": "<string>",
"avatar_url": "<string>"
},
"metadata": {},
"emailVerified": true,
"providers": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"accessToken": "<string>"
}