curl --request POST \
--url https://copilotz.com/api/auth/login \
--header 'Content-Type: application/json' \
--data '{
"username": "john.doe@example.cocommpany",
"password": "your-password",
"namespace": "example_namespace"
}'
{
"accessToken": "tk_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjRiOTBhYzEwM2ExM...",
"expiresAt": "2024-05-23T13:53:03.591Z"
}
Request payload for user authentication.
OK
Successful authentication response containing access token and expiration.
curl --request POST \
--url https://copilotz.com/api/auth/login \
--header 'Content-Type: application/json' \
--data '{
"username": "john.doe@example.cocommpany",
"password": "your-password",
"namespace": "example_namespace"
}'
{
"accessToken": "tk_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjRiOTBhYzEwM2ExM...",
"expiresAt": "2024-05-23T13:53:03.591Z"
}
curl --request POST \
--url https://copilotz.com/api/auth/login \
--header 'Content-Type: application/json' \
--data '{
"username": "john.doe@example.cocommpany",
"password": "your-password",
"namespace": "example_namespace"
}'
{
"accessToken": "tk_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjRiOTBhYzEwM2ExM...",
"expiresAt": "2024-05-23T13:53:03.591Z"
}
Request payload for user authentication.
OK
Successful authentication response containing access token and expiration.
curl --request POST \
--url https://copilotz.com/api/auth/login \
--header 'Content-Type: application/json' \
--data '{
"username": "john.doe@example.cocommpany",
"password": "your-password",
"namespace": "example_namespace"
}'
{
"accessToken": "tk_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NjRiOTBhYzEwM2ExM...",
"expiresAt": "2024-05-23T13:53:03.591Z"
}