GetGenius Docs
  • Latest articles
    • Changelog
  • Help Center
    • 1. Getting started
    • 2. Tools
    • 3. Collaboration
    • 4. Integrations
    • 5. API
    • 6. Account
    • 7. Hardware
  • Tutorials
    • Examples
  • More
    • Case studies
Select Page

Getting started

5
  • Getting started
  • What does GetGenius do?
  • Overview of the GetGenius platform
  • How GetGenius works with social networks and other integrations
  • Installation of GetGenius

Tools

9
  • Setting Up Personalized AI Assistants with GetGenius
  • Add and manage media assets with GetGenius
  • Edit and save drafts
  • Generating images with GetGenius
  • Generating creatives with GetGenius
  • Leveraging Captions with GetGenius
  • Create Campaigns with GetGenius
  • Setup Project Languages
  • Create translations of content

Collaboration

4
  • Create or delete a team in GetGenius
  • Add and remove a Member of a Team
  • Create or delete a project
  • Add a project to a team

Integrations

15
  • Claim a LinkedIn Listing Page for Your Company
  • Connect your WordPress website with the GetGenius plugin
  • Add a Facebook Account to GetGenius
  • Add an Instagram Account to GetGenius
  • Connect an Instagram Account to a Facebook Page
  • Convert an Instagram Personal profile to a Business profile
  • Add a LinkedIn Account to GetGenius
  • Add a TikTok Account to GetGenius
  • Add a YouTube Account to GetGenius
  • Add a Pinterest Account to GetGenius
  • Connect a X (Twitter) Account to GetGenius
  • Add a Google Account to GetGenius
  • Add an OpenAI Account to GetGenius
  • Add an ElevenLabs Account to GetGenius
  • Add a HeyGen Account to GetGenius

API

5
  • Introduction
  • Authentication
  • Error handling
  • Rate limits
  • API Reference

Account

7
  • Overview of GetGenius Settings
  • Supported Browsers
  • Change Your Display Language
  • Managing Appearance
  • Billing at GetGenius
  • Pricing of GetGenius
  • Privacy at GetGenius Inc.

Computing power

6
  • Use your Browser with WebGPU for Next-Gen AI & Analytics
  • Compute integrations from third-party providers
  • Connect Amazon Web Services with GetGenius
  • Connect a HyperStack GPU Instance with GetGenius
  • Connect a LambdaLabs GPU Instance with GetGenius
  • Connect a Microsoft Azure Compute Instance with GetGenius

Tutorials

6
  • Unleash the Power of AI on Your Media Library with GetGenius
  • Automated generation of blog posts (text, images + social media videos) with GetGenius
  • Create Your Own Image Templates in the Browser with GetGenius
  • Create, Edit, and Render Video Templates in the Browser with GetGenius
  • How to train AI models with GetGenius 
  • How to generate perfect images for your social media channels with GetGenius.ai

Hardware

3
  • Hardware requirements for devices to use the cloud-based GetGenius software
  • Hardware requirements for running the GetGenius Node on your own devices
  • Requirements for the operation of GetGenius servers and render machines on your own premises

Changelog

17
  • v1.3.0
  • v1.2.0
  • v1.1.90
  • v1.1.76: Improved shop & mail management
  • v1.1.70: Introducing Exciting New Features and Enhancements!
  • v1.1.50: Updated sidebar components UI & improved setup process
  • v1.1.40: Improved AI newsletter creation
  • v1.1.30: Introducing AI assistants
  • v1.1.20: Introducing the AI video creator
  • v1.1.10: Introducing AI store & improved AI models
  • v1.1: UI, performance & mobile improvements
  • v1.0.63: Introducing AI Styles, Campaigns, and Simplified Channels
  • v1.0.53: Improved DANI, content editor & mobile UI
  • v1.0.35: Improved media tools & mobile UI
  • v1.0.31: Add music from the audio library to your media
  • v1.0.30: Improved Caption Generator
  • v1.0.29: Improved media handling & creation process

Media Templates

2
  • After Effects (AEP) templates
  • HTML5 templates

Node

2
  • Introduction to the GetGenius Node
  • The file system of the GetGenius Node
View Categories
  • Home
  • Documentation
  • API
  • Authentication

Authentication

2 min read

Security is a top priority at GetGenius Inc. To ensure the protection of your data and maintain the integrity of our platform, we use API authentication. This guide will help you understand how API authentication works on the GetGenius platform.

Understanding API Authentication #

API authentication is a process that validates the identity of a user, system, or server before granting access to data. It is a crucial layer of security that prevents unauthorized access to sensitive information.

On the GetGenius platform, we use token-based authentication. This method involves generating a unique token for each user session. This token must be included in the header of each API request.

Generating and Using API Key #

To generate an API key, you need to log into your GetGenius account and navigate to the ‘API Key’ section. Here, you can generate a new key. Please note that you should keep your API tokens secure and never share them with anyone.

When making an API request, include the key in the ‘Authorization’ header. If the key is valid, the API request will be processed. If the key is missing, invalid, or expired, the request will be denied, and you will receive an error message.

It’s important to note that API keys have an expiration date for security reasons. You will need to generate a new key once the current one expires.

By adhering to these authentication guidelines, you can ensure the security of your data and enjoy a seamless experience on the GetGenius platform.

Copy your api key from API tab

Authorize your application #

At GetGenius Inc., we prioritize the security of our users and their data. As part of this commitment, we require all applications to be authorized before they can interact with our platform. Application authorization is a security measure that ensures only approved applications can interact with our platform. It involves verifying the identity of the application and granting it specific permissions.

A login requests in cURL looks like this:

curl --request POST \
  --url https://api.getgenius.ai/user/login \
  --header 'Content-Type: application/json' \
  --data '{}'

Validate access token #

Access tokens are a crucial part of the security measures on the GetGenius platform. They ensure that only authorized applications can access our API. Access tokens are generated when a user authorizes an application. They represent the user’s consent for the application to access their data. Each token is unique and must be included in the ‘Authorization’ header of each API request.

curl --request POST \
  --url https://api.getgenius.ai/user/token/validate \
  --header 'Content-Type: application/json' \
  --data '{}'

Refresh access token #

Access tokens are an essential part of maintaining secure interactions with the GetGenius platform. However, for security reasons, these tokens have an expiration date. Access tokens are temporary and expire after a certain period. This is a security measure to prevent unauthorized long-term access to user data. Once an access token expires, it can no longer be used to make API requests.

When an access token expires, you can obtain a new one by using a refresh token. A refresh token is issued along with the access token when a user authorizes your application. Unlike access tokens, refresh tokens are long-lived and can be used to obtain new access tokens without requiring the user to re-authorize your application.

To refresh an access token, you need to make a POST request to the GetGenius token endpoint. Include your refresh token, client ID, and client secret in the request. If the refresh token is valid, a new access token will be issued.

Please note that once a refresh token is used, it becomes invalid. A new refresh token will be issued along with the new access token. Always replace the old refresh token with the new one in your system.

By properly managing and refreshing access tokens, you can maintain secure and uninterrupted access to the GetGenius platform.

curl --request POST \
  --url https://api.getgenius.ai/user/token/refresh \
  --header 'Content-Type: application/json' \
  --data '{}'

Updated on January 14, 2024

What is your opinion?

  • Happy
  • Normal
  • Sad
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
IntroductionError handling
Table of Contents
  • Understanding API Authentication
  • Generating and Using API Key
  • Authorize your application
  • Validate access token
  • Refresh access token
  • Facebook
  • X
  • Instagram
  • RSS
© 2023 GetGenius Inc | 1100 15th Street NW 4th Floor | Washington, DC 20005 | USA