...
Authentication
Zapier authentication.
Login
Zapier login.
Request
Status | ||||
---|---|---|---|---|
|
Header parameters
Parameter | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Accept
| application/json |
Path parameters
None
Body parameters
Parameter | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| The email of the user E.g. admin@thiio.com | ||||||||||
Password
| The password for the email E.g. 123456789 | ||||||||||
Domain
| User’s domain E.g. https://my-domain.thiio.io |
Response
Status | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
{
"data": {
"user": {
...
},
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiNDUxMzA2YTkzZDYzY2Q3MTdhNTdmNTNkYjY3MDkxNDgzZDNjMzEyYmMyMTEyMGM5M2IyYWM3ZjJhODkyNjAzOTE1NDBlYzVmMmIxZGFlYWQiLCJpYXQiOjE3MjM1NzkzODAuNzYxNzc2LCJuYmYiOjE3MjM1NzkzODAuNzYxNzgxLCJleHAiOjE4ODEzNDU3ODAuNzM1MzQzLCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.d4fwmsSomnRsDv7l1Ly86D8hlpz2RHPbq37bOuj7Qf_ngoVw3ffe_vbuqI0nQ0tqD6fy5Cqdcycevk3mr52SpcY0hiuDwBHW50w1qSbheKGIYtQOLqA7pNzaAWa5UWFTRQmja1FxZpGq_Iwp3IPztHgM_zTcSGgsclrbn7NT69sGw04hbGxkr2p_q5vMjUyUaC0XSLq5cIcKNPTnna_oVJdN4_gf4G6Q4lNfij5FdE5FZSohnX2r5IrfSgoZdX42jJIsT6SI1vcIrDkqvNDU1XWcE2H1epRQJtcm9a7zvuxWMaQdJIw3Ih7UNe7FRewtxCsQUSgALRkyuZLnhhhKgFtcS-Vx0dY6Mk3sijvpeW4ruYTxuyI85g5E4MFwlQcbYpHLLzWSCLLQqtaiqTXuR94cWyIv0Eyz1td3bLa-26ki9d-zChzkMtze-oO48dPshw1zEIpWeUuE1MnwQ7cqgDLreKtcwKsGxNh5ZcuA0OW7I2Ai6kgMDOX7MNG9DFuOU7YI1qi3KvZtSFxd1C6BRXHzcDIHeJcT_-FC996kg46kNeVW5F7U-bpAFdKoXDPw5sP93KmDv7KVoOCxWjHDLKtlw_l2KnYwLvf4dyiQOxqB0m8SVZUF9dTdRfPgwfIfLAS5iBFzmCNzclk-wKVXiuFULykDAlk4t3Vg9xYFEa8",
"expires": 1881345780,
"setup_finished": true,
"integration_uuid": "92e1234af-d123-4ece-b222-54a1437x4831a"
}
} |
Check user logged in
Zapier check user logged.
Request
Status | ||||
---|---|---|---|---|
|
Header parameters
Parameter | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Accept
| application/json | ||||||||||
Authorization
| Base 64 encoded string containing the |
Path parameters
None
Body parameters
None
Response
Status | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
{
"user": {
"id": 1,
"uuid": "32ce1a5a-8e9c-4a20-afff-57c1deaee136",
"contact_id": 1,
"type": "customer_employee",
"email": "admin@thiio.com",
"email_verified_at": null,
"password": "$2y$10$hg98Bo7a9QFwZPGOf.xRe.9ZXfgb9N2NHfeW9vDHQiQr37gC.MOY2",
"metadata": {
"language": "en",
"dashboards": {
"default": "set_up",
"favorites": [
"set_up",
"default"
]
},
"date_format": "DD/MM/YYYY",
"workspace_type": "advanced",
"test_token_time": 30,
"worker_attributes": {
"lucas_uri": "agent_1_admin",
"contact_uri": "client:1_admin",
"inbound_calls": 0,
"inbound_conversations": 0
}
},
"integrations_meta": null,
"dialer_extension": null,
"dialer_worker_sid": "WK4a1887b78f41363a21d5e03f3171a873",
"dialer_activity_sid": "WA993d72c19cd2b35bfc6e2cc9b2690348",
"dialer_activity_name": "Idle",
"remember_token": null,
"welcome_email_sent": 0,
"two_factor_enabled": 0,
"two_factor_secret_key": null,
"deactivated_at": null,
"created_at": "2024-06-21 00:23:02",
"updated_at": "2024-06-24 12:33:14",
"deleted_at": null,
"uri": "client:1_admin"
}
} |