Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • API, CLI, and SDK Documentation
  • Command-line Interface

CLI: Sessions

Learn how to use the CLI to manage sessions.

Written by Andrea Harvey

Updated at April 28th, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Insights
    Prebuilt Insights Custom Insights
  • Content
  • Accounts
  • Activity Log
  • Content Scans
  • Migrations
    Migration Jobs Migration Reports Maps Flagged Items Migration Tools
  • Connections
    Supported Platform Connections Creating Connections Connection Maintenance Connection Pools
  • Entity Types
    DryvIQ Available Entity Types Custom Entity Types Entity Type Maintenance
  • Action Sets
    Creating Action Sets Action Sets Maintenance
  • Settings
    License Performance Notifications Extensions Entity Types Settings Display Settings Configuration
  • API, CLI, and SDK Documentation
    REST API Documentation Command-line Interface SDK Development
  • POC Offering
  • Release Notes
+ More

Table of Contents

Sessions Get a Raw Access Token Command Example Result Example JSON Result

The CLI references “skysync.” This is expected.

 

Sessions

The authentication parameters are provided within the configuration file in all examples. See the CLI: Authentication for more information.

Get a Raw Access Token

Command

skysync-cli sessions token

Example Result

eyJhbGciOiJSUzI1NiIsImtpZCI6IldVV0FXSlVKS1hFNUU1RDdZUFFOTFlCU0dRNzg1NVJZWTJYVVJJRUYiLCJ0eXAiOiJKV1QifQ.eyJzdWIiOiI2ZmNlNmI0Y2VlMTg0MDc3OTNhZDJlMTVmYTZjY2M2NyIsInRva2VuX3VzYWdlIjoiYWNjZXNzX3Rva2VuIiwianRpIjoiOGVlMGNjZWYtZmE4OS00ZTA5LTkwNzAtNTI3MDZkOGE3NWEyIiwic2NvcGUiOlsicHJvZmlsZSIsInJvbGVzIl0sImF1ZCI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTA5MC8iLCJuYmYiOjE1MTA4ODg3MDcsImV4cCI6MTUxMDg5MjMwN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jDVZWt_GGlD1NfMT-GsGDosu4ASMiPcO1U_1LvAYPobuAmOPtG2hcsmHpD4dxrgYMhPQRbX-_C1OCgyaajSODru0xO1QqKyvPRCMaTlmVPW-NT1JLpAgnDG4bUu-YTju39jAaSqbHNqLgwCWyHYkB67fuMVcIXA"
  }
]

 

cli sessions token command-line

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • CLI: Authentication
  • DryvIQ CLI for Migrations
  • CLI: Profiles

Copyright 2025 – DryvIQ, Inc.

Knowledge Base Software powered by Helpjuice

Expand