Log into the API
cURL
curl --request POST \ --url https://api.main.apexscore.ai/api/v1/auth/login \ --header 'Content-Type: application/json' \ --data '{ "username": "<string>", "password": "<string>" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "token": "<string>", "organizations": "<string>", "password": "<string>", "last_login": "2023-11-07T05:31:56Z", "is_superuser": true, "is_staff": true, "is_active": true, "date_joined": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "email": "jsmith@example.com", "first_name": "<string>", "last_name": "<string>", "groups": [ 123 ], "user_permissions": [ 123 ] }
The response is of type object.
object