Session
Create a session
Last updated
Create a session
Last updated
GET /session HTTP/1.1
Host: api.taag.co
Accept: */*
{
"status": "success",
"session": {
"id": 10033,
"user_id": 20128,
"name": "text",
"token": "20128-1724245242-h7h87Ka22cfVSNwGHBdkxJK0SgVDNNvv4L8DGBD0wUMDbDtuiXiwP9YOx3oHpOoDoGz1nQGIkYJ",
"2fa_required": 0,
"2fa_authorized": 0,
"2fa_code": "text",
"2fa_trys": 0,
"2fa_sent": 1,
"timestamp_last_use": 1724245242,
"timestamp": 1724245242,
"teamsession": 0,
"user": {
"id": 20128,
"company_id": 385,
"name": "Phillip Musiime",
"email": "[email protected]",
"email_verified": 1,
"email_code": "210000199602133397",
"password": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"2fa": 0,
"rp_code": "44000020150502575X",
"rp_timestamp": 1702495813,
"language": "en",
"lead_sync": 1,
"enterprise": 0,
"email_timestamp": 1,
"plan": "NULL",
"priceId": "NULL",
"customerId": "NULL",
"subscriptionId": "NULL",
"third_party": "NULL",
"third_party_uid": "NULL",
"timestamp": 1702495813,
"profiles_public": 0,
"start_onboarding": 0,
"send_followup_lead_email": 0,
"send_followup_lead_email_in_days": 0,
"image": "https://picsum.photos/200"
}
},
"web_redirect": "overview"
}POST /session HTTP/1.1
Host: api.taag.co
Content-Type: application/json
Accept: */*
Content-Length: 62
{
"email": "[email protected]",
"password": "text",
"origin": "mobile"
}{
"status": "success",
"session_token": "text",
"session": {
"id": 10033,
"user_id": 20128,
"name": "text",
"token": "20128-1724245242-h7h87Ka22cfVSNwGHBdkxJK0SgVDNNvv4L8DGBD0wUMDbDtuiXiwP9YOx3oHpOoDoGz1nQGIkYJ",
"2fa_required": 0,
"2fa_authorized": 0,
"2fa_code": "text",
"2fa_trys": 0,
"2fa_sent": 1,
"timestamp_last_use": 1724245242,
"timestamp": 1724245242,
"teamsession": 0,
"user": {
"id": 20128,
"company_id": 385,
"name": "Phillip Musiime",
"email": "[email protected]",
"email_verified": 1,
"email_code": "210000199602133397",
"password": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"2fa": 0,
"rp_code": "44000020150502575X",
"rp_timestamp": 1702495813,
"language": "en",
"lead_sync": 1,
"enterprise": 0,
"email_timestamp": 1,
"plan": "NULL",
"priceId": "NULL",
"customerId": "NULL",
"subscriptionId": "NULL",
"third_party": "NULL",
"third_party_uid": "NULL",
"timestamp": 1702495813,
"profiles_public": 0,
"start_onboarding": 0,
"send_followup_lead_email": 0,
"send_followup_lead_email_in_days": 0,
"image": "https://picsum.photos/200"
}
},
"web_redirect": "overview"
}DELETE /session HTTP/1.1
Host: api.taag.co
Accept: */*
{
"status": "success"
}