vidinfra
  1. Auth
vidinfra
  • Documentation
    • Guides
      • Welcome
      • Getting Started
        • What is Vidinfra?
        • Quick Start Guide
        • Publish First Video
        • FAQs
      • Upload & Import Videos
        • Upload from Device
        • Import from Vimeo
        • Import from YouTube
        • Import from Zoom
      • DRM
        • Widevine DRM
        • FairPlay DRM
      • Accounts
        • Accounts
      • Organization Settings
        • User Management
        • Billing
        • Settings
  • API Reference
    • Projects
      • Get projects list
      • Get project
      • Create New Project
      • Destory Project
      • Update project
      • upload logo
      • Get Project Settings
      • Upsert Project Settings
    • importer.vidinfra.com
      • welcome
      • Debug
      • test
    • Auth
      • User Registration
        POST
      • User Login
        POST
      • Verify-email
        GET
      • Forgot Password
        POST
      • Forgot Password Verify OTP
        POST
      • Forgot Password Set
        POST
      • Resend OTP
        POST
      • Logout
        POST
      • Set Password
        POST
      • Check Account exists
        POST
      • Update Password
        POST
      • Google Oauth Redirect
        GET
      • Google Oauth Callback
        GET
      • api-access-check
        GET
      • New Auth token using Refresh token
        POST
      • Github Oauth Redirect
        GET
      • Google Oauth Callback Copy
        GET
      • Get User Sessions
        GET
      • Delete User Sessions
        DELETE
    • User
      • Profiles
      • Profile Updates
      • Profile Avatar update
    • Organization
      • List organizations
      • Create an organization
      • Get an organization
      • Update an organization
      • Switch an organization
    • Organization's invitations
      • Sent invitation list
      • Send invitation
      • Show Token
      • Accept Invitation
      • Reject Invitation
    • Audits
      • Audits
    • Members
      • Members
      • test permission
    • API Keys
      • Get All API keys
      • Get API Key
      • Create API Keys
      • Destory API Keys
      • api key middleware (test)
    • Folders
      • Get All Folders
      • Create Folder
      • Get Folder by ID
      • Update Folder
      • Move Folder
      • Bulk Move Folders (empty)
      • Delete Folder
      • Get Folder Tree
    • Videos
      • Get All video of a project
      • Get a Video
      • Get Video using Custom field
      • create video
      • Upload thumbnail
      • Update video
      • Destroy video
      • Search Video
      • batch video Assign to collecition
      • Mark Thumbnail As Default
      • Get Video Timelines
    • Video Metas
      • Create or Update Video Meta Data
      • Get All Meta Data of a Video
    • Video Captions
      • create video caption
      • Delete a video Caption
      • Get video caption
    • Video Chapter
      • create video chapters
    • Uploads
    • Tags
      • Get all tags upder a project
      • Create Tag
      • Delete tag
    • Players
      • Get all Players
      • Create Player
      • Get Specific player
      • update player
      • Delete Player
      • Player Mark as default
    • Webhook Endpoints
      • Get webhook
      • create web hook
      • GET Webhook by ID
      • Update webhook
      • Delete web hook
    • Advertisements
      • get all ads
      • create ads
      • get single advertisement
      • Update ads
      • Delete ads
    • Webhook Event Logs
      • Get webhook event logs
      • Resend Webhook event by Id
      • Resend All Webhook Event
    • Analytics Direct Api
      • geo-distribution
      • Project Views
      • avg video watch
      • Total watch Time
      • Project Avg Watch per Unique user
      • Total Player Error
      • project popularity-analysis
      • Project Collection Insights
      • Collection Views
      • Collection avg Watch time
      • Collection Avg Watch per unique user
      • Collection Geo Distribution
      • Get all Users
      • User media views
      • User Avg video watch
      • user Player log
      • user sessions
      • Get all Video
      • video Player error
      • Video View
      • video Geo Distribution
      • video Avg watch
      • copy
    • Streams
      • Create livestream
      • Get all stream
      • Get a livestream
      • update status of livestream
      • delete a stream
      • get livestream historys
    • Stream Metas
    • Usages
      • Bandwidth Usage
      • Storage Usage
      • Get Over Usage
    • Encoding profile
      • Get all profiles
      • Create profile
      • Get A profile
      • Update a encoding profile
      • Delete a encoding profile
      • Make a profile default
    • Project Matrics
      • Get Matrics
      • project Usages
    • Access Control
      • Put Access Control
      • Get access Control
    • Analytics
      • Project Get geo-distribution
      • project views
      • Project avg video watch
      • Project Total Watch
      • Project Avg Watch per Unique user
      • Project All Player Errors
      • Project Popularity Analysis
      • Project Collections insights
      • Collection Geo Distribution
      • Collection avg watch time
      • Collection avg watch per unique User
      • Collection Player error
      • Video Geo Distribution
      • Video views
      • Video Avg Watch
      • Video Player Log
      • User
      • User Avg Video Watch
      • User Total Watch
      • User player error log
    • Plan
      • public plans
      • current plan
      • Account Plans
      • Get plan by ID
      • Admin Get Plans
      • Admin Create plan
      • Admin Get Plan by ID
      • Admin Update Plan by ID
      • Admin Delete plan By ID
      • Admin Get Plan Metrices
      • Admin Get Plan Metrices By Type
      • Admin Create Plan Matrices By Type
      • Admin Update Plan Metrices By ID
    • Upload Tokens
      • Obtain credentials before upload
    • subscribe
      • stripe redirect subscription
        • create checkout session
        • over usage payment
      • current subscription
      • discribe a plan by planCode
      • subscribe
      • cancel subscription
      • over usage payment
      • Stripe over usage autopay payment (test)
    • Transaction
      • Get All Transaction
    • Invoice
      • Get All Invoices
      • Get Invoice by ID
    • vimeo video importer
      • vimeo job list
      • Vimeo videos by migration id
      • Vimeo Set video importer
      • Vimeo sync import
      • Vimeo import videos
      • Get pull videos
      • pull video from url
    • test
      • Welcome to vidinfra Copy
      • metrics
    • transcoding service
      • get all jobs
      • get a job
      • create jobs
      • Update a job
      • Delete a job
      • create job v2
    • transcoding service v2
      • create jobs
      • get all jobs
      • get a job
      • Update a job
      • Delete a job
    • Welcome to vidinfra
      GET
    • health check
      GET
    • Regions List
      GET
    • key
      POST
    • Untitled Endpoint
      GET
  1. Auth

Get User Sessions

Developing
GET
/auth/sessions

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:8080/v1/auth/sessions'

Responses

🟢200OK
text/plain
Body
object {0}
Example
{"message":"Fetched Successfullysessions.","result":[{"created_at":"2024-08-27T12:03:43+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"08306710-7fef-4d6e-a405-cb498da4a585","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-02T11:26:30+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"0e606081-c50d-4ace-9456-f62f6661a850","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-03T14:03:53+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"152f2254-db5f-45bd-9a24-3980db53af3a","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-05T11:16:18+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"1990e977-a74a-4f84-9e08-aa7d56de146a","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-20T15:48:20+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"1f655814-a6d0-4d21-b243-1aff5e6dab2a","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-09T12:23:52+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"2a80877f-4102-43cb-b24a-676dc9babb3b","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-29T10:57:05+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"2c297a57-ea92-4cce-8146-5e6173721c06","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-22T18:23:21+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"2f13fb79-f38d-4346-9cda-c0a7f2a4e4ef","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-27T13:36:56+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"2fd3f859-7b80-4fd8-aa0e-aa41f6738f88","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-25T14:33:04+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"3653d77a-9ba7-418e-934e-fdfc8b98865d","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-27T12:14:44+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"3ec6ab3c-adf1-4b60-b699-0c8090534b49","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-09T12:27:57+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"4d6b7c37-9693-4e49-aa75-9e01593b69e8","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":true},{"created_at":"2024-08-28T17:24:02+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"60e27776-b017-4e3b-8919-a56fd7db1919","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-01T12:59:48+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"68a89747-c1af-4b0a-bd7e-86607ff5f3e1","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-05T11:17:00+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"6cc0028c-0eda-46fd-93e0-2e334155a53d","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-27T12:26:49+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"74ff1d12-6018-4611-86da-83cf3c9e8a57","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-25T14:34:36+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"84943498-8a6f-446f-ba0a-c8371b3cfbe0","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-04T11:11:00+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"b3c42256-5291-417c-973a-38d8c7a34da6","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-25T16:01:05+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"bf6cba8e-e11c-49fb-868f-08382306eb17","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-25T14:25:29+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"c790fa18-ed18-4792-a9f9-58d72881df3c","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-25T17:39:34+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"c96e877b-5c97-4a1a-9315-1abe6de3c54b","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-22T10:55:02+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"cf6e6c09-455c-4e05-b23d-ec9d59992474","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-21T10:34:21+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"d4fee726-9312-4b12-b43d-84dc90d69234","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-28T13:31:07+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"dfce5399-6281-4928-829f-8a158d708854","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-09-05T16:24:34+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"f0884c48-9fbe-4419-9249-c2c76e5d81eb","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false},{"created_at":"2024-08-25T15:48:10+06:00","expires_at":"0001-01-01T00:00:00Z","user_agent":"Apidog/1.0.0 (https://apidog.com)","client_ip":"::1","platform":"","device":"","location":"","status":"active","id":"f82f53f2-2cb6-42df-aa2b-f403cd1032a9","user_id":"2518d39a-5738-445d-bf24-83e6f4a7b938","is_current":false}],"success":true}
Previous
Google Oauth Callback Copy
Next
Delete User Sessions
Built with