• Free Trial
  • Products
    • LMSThe world’s easiest-to-use learning management system.
    • Training ContentA robust library of off-the-shelf learning content.
  • Solutions
    • By Use Case
      • Employee Training
      • Sales Training
      • Customer Training
      • Partner Training
      • Compliance Training
      • View all
    • By Industry
      • Technology
      • Nonprofit
      • Retail
      • Hospitality
      • Healthcare
      • View all
  • Customers
    • Learn more about Litmos customer success stories.
      • Case Studies
      • Video Testimonials
      • I Love Litmos
      • Lenny Awards
    • Featured Customer
      • Sabre, a global travel technology provider, increases revenue by using Litmos to train their sales and technical teams.
  • Pricing
  • Resources
    • Ebooks & Infographics
    • Webinars & Podcasts
    • Events
    • Integrations
    • Blog
  • About
    • Company
    • Partners
    • Awards
    • Careers
    • Sustainability
  • Free Trial
Litmos
Log in
Contact us
Support
Search
  • Free Trial
  • Products
    • LMSThe world’s easiest-to-use learning management system.
    • Training ContentA robust library of off-the-shelf learning content.
  • Solutions
    • By Use Case
      • Employee Training
      • Sales Training
      • Customer Training
      • Partner Training
      • Compliance Training
      • View all
    • By Industry
      • Technology
      • Nonprofit
      • Retail
      • Hospitality
      • Healthcare
      • View all
  • Customers
    • Learn more about Litmos customer success stories.
      • Case Studies
      • Video Testimonials
      • I Love Litmos
      • Lenny Awards
    • Featured Customer
      • Sabre, a global travel technology provider, increases revenue by using Litmos to train their sales and technical teams.
  • Pricing
  • Resources
    • Ebooks & Infographics
    • Webinars & Podcasts
    • Events
    • Integrations
    • Blog
  • About
    • Company
    • Partners
    • Awards
    • Careers
    • Sustainability
  • Free Trial

Litmos Documentation

APIs

Home › Litmos Documentation › Self-Signup Tokens Via API

Self-Signup Tokens Via API

Self-Signup is a feature designed to give organizations a workflow for Learners to enroll in training by using a signup code, referred to as a “token”. Signup tokens let organizations specify the following:

  • Token code string
  • What training Learners get enrolled into after claiming the token
  • How many Learners may claim the code for redemption
  • How long the signup code lasts before it expires

The API endpoints documented here are designed for the management of Self-Signup Tokens.

Important Note: Token Type must be an integer value of either 1, 2, 3 or 4.

  • 1 = Course
  • 2 = Team
  • 3 = Learning Path
  • 4 = Collection listing

Get Tokens

Get a list of the tokens that can be used for self-signup.

Request URI

GET /tokens?

Response Body (XML)

<Tokens>
    <Token>
        <TokenId>string [max length 50]</TokenId>
        <TokenCode>string[max length 250]</TokenCode>
        <TokenType>integer</TokenType>
        <TokenTypeId>string [max length 50]</TokenTypeId>
        <Active>true/false</Active>
        <MaximumActivations>integer</MaximumActivations>
        <TokenExpiration>YYYY-MM-DDTHH:MM:SS</TokenExpiration>
    </Token>
    <Token>
        .......
    </Token>
</Tokens>

Get a Token

Get a specific token that can be used for self-signup.

Request URI

GET /tokens/{tokenid}?

Response Body (XML)

<Tokens>
    <Token>
        <TokenId>string [max length 50]</TokenId>
        <TokenCode>string[max length 250]</TokenCode>
        <TokenType>integer</TokenType>
        <TokenTypeId>string [max length 50]</TokenTypeId>
        <Active>true/false</Active>
        <MaximumActivations>integer</MaximumActivations>
        <TokenExpiration>YYYY-MM-DD HH:MM:SS</TokenExpiration>
    </Token>
</Tokens>

Create Tokens

Create one or more tokens to be used for self-signup.

Request URI

POST /tokens?

Request Body (XML)

<Tokens>
    <Token>
        <TokenCode>string[max length 250]</TokenCode>
        <TokenType>integer</TokenType>
        <TokenTypeId>string [max length 50]</TokenTypeId>
        <Active>true/false</Active>
        <MaximumActivations>integer</MaximumActivations>
        <TokenExpiration>YYYY-MM-DD HH:MM:SS</TokenExpiration>
    </Token>
    <Token>
        .......
    </Token>
</Tokens>

Response Body (XML)

<Tokens>
    <Token>
        <TokenId>string [max length 50]</TokenId>
        <TokenCode>string[max length 250]</TokenCode>
        <TokenType>integer</TokenType>
        <TokenTypeId>string [max length 50]</TokenTypeId>
        <Active>true/false</Active>
        <MaximumActivations>integer</MaximumActivations>
        <TokenExpiration>YYYY-MM-DD HH:MM:SS</TokenExpiration>
    </Token>
    <Token>
        .......
    </Token>
</Tokens>

Update Tokens

Update one or more tokens to be used for self-signup.

Request URI

PUT /tokens?source=MyApp

Request Body (XML)

<Tokens>
    <Token>
        <TokenId>string [max length 50]</TokenId>
        <TokenCode>string[max length 250]</TokenCode>
        <TokenType>integer</TokenType>
        <TokenTypeId>string [max length 50]</TokenTypeId>
        <Active>true/false</Active>
        <MaximumActivations>integer</MaximumActivations>
        <TokenExpiration>YYYY-MM-DD HH:MM:SS</TokenExpiration>
    </Token>
    <Token>
        .......
    </Token>
</Tokens>

Response Body (XML)

<Tokens>
    <Token>
        <TokenId>string [max length 50]</TokenId>
        <TokenCode>string[max length 250]</TokenCode>
        <TokenType>integer</TokenType>
        <TokenTypeId>string [max length 50]</TokenTypeId>
        <Active>true/false</Active>
        <MaximumActivations>integer</MaximumActivations>
        <TokenExpiration>YYYY-MM-DD HH:MM:SS</TokenExpiration>
    </Token>
    <Token>
        .......
    </Token>
</Tokens>

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of Litmos.

The information contained herein may be changed without prior notice. Some software products marketed by Litmos and its distributors contain proprietary software components of other software vendors. National product specifications may vary.

These materials are provided by Litmos for informational purposes only, without representation or warranty of any kind, and Litmos or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for Litmos company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular Litmos or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and Litmos or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by Litmos or its affiliated companies at any time for any reason without notice.

The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.

© 2022 Litmos or a Litmos affiliate company. All rights reserved.

Litmos and other Litmos products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Litmos (or a Litmos affiliate company) in the United States and other countries. All other product and service names mentioned are the trademarks of their respective companies.

Match keywords.

Useful Links

  • Release Notes
  • Customer Portal

In this article

Related articles

  1. Users Via API
  2. Date Range Delta Queries Via API
  3. Instructor Led Training Via API

Also of Interest

  • Communication Skills Training Program
  • Mobile Learning for Education
  • Employee Training vs Productivity
  • Corporate LMS
  • Enterprise Learning Management System
  • LMS Platform
  • eLearning Platform
  • What is a learning management system?
  • See Additional Resources

Solutions by Use Case

  • Employee Training
  • Customer Training
  • Compliance Training
  • Sales Training
  • Operations Training
  • Gig Worker Training
  • Contractor Training
  • Supplier Training

Solutions by Industry

  • Technology
  • Nonprofit
  • Retail
  • Hospitality
  • Healthcare

Contact Us

Contact
UK: +44 20 4551 1606
USA: +1 925 490 0401
AUS: +61 3 7066 4851
Email
Support
Address
Contact Us
Litmos Reviews Litmos Reviews
Litmos Careers Careers

© 2023 Litmos US, L.P. and affiliates. All rights reserved.

  • Privacy Statement
  • Terms & Conditions
  • Website Terms