API tokens | Strapi Documentation (2024)

☑️ Prerequisites

  • Administrators can create, read, update, or delete API tokens only if proper permissions are granted (see Configuring administrator roles).
  • The Global settings > API Tokens sub-section of the settings interface is accessible in the admin panel only if the API tokens > Read permission is granted.

API tokens allow users to authenticate REST and GraphQL API queries (see Developer Documentation). Administrators can manage API tokens from API tokens | Strapi Documentation (1) Settings > Global settings > API Tokens.

API tokens | Strapi Documentation (2)API tokens | Strapi Documentation (3)

The API Tokens settings sub-section displays a table listing all of the created API tokens.

The table displays each API token's name, description, date of creation, and date of last use. From the table, administrators can also:

  • Click on the API tokens | Strapi Documentation (4) to edit an API token's name, description, type, duration or regenerate the token.
  • Click on the API tokens | Strapi Documentation (5) to delete an API token.

Creating a new API token

To create a new API token:

  1. Click on the Create new API Token button.

  2. In the API token edition interface, configure the new API token:

    Setting nameInstructions
    NameWrite the name of the API token.
    Description(optional) Write a description for the API token.
    Token durationChoose a token duration: 7 days, 30 days, 90 days, or Unlimited.
    Token typeChoose a token type: Read-only, Full access, or Custom.
  3. (optional) For the Custom token type, define specific permissions for your API endpoints by clicking on the content-type name and using checkboxes to enable or disable permissions.

  4. Click on the Save button. The new API token will be displayed at the top of the interface, along with a copy buttonAPI tokens | Strapi Documentation (6).

API tokens | Strapi Documentation (7)API tokens | Strapi Documentation (8)

Caution

For security reasons, API tokens are only shown right after they have been created. When refreshing the page or navigating elsewhere in the admin panel, the newly created API token will be hidden and will not be displayed again.

Regenerating an API token

To regenerate an API token:

  1. Click on the API token's edit button.
  2. Click on the Regenerate button.
  3. Click on the Regenerate button to confirm in the dialog.
  4. Copy the new API token displayed at the top of the interface.
API tokens | Strapi Documentation (2024)
Top Articles
Best practices for REST API design
Emergency Response Plan | Ready.gov
Craigslist San Francisco Bay
Golden Abyss - Chapter 5 - Lunar_Angel
Public Opinion Obituaries Chambersburg Pa
Riverrun Rv Park Middletown Photos
My Arkansas Copa
Regal Amc Near Me
How To Do A Springboard Attack In Wwe 2K22
Wisconsin Women's Volleyball Team Leaked Pictures
Air Canada bullish about its prospects as recovery gains steam
Craigslist Portales
Unit 1 Lesson 5 Practice Problems Answer Key
Slmd Skincare Appointment
Trini Sandwich Crossword Clue
Walthampatch
Best Food Near Detroit Airport
Springfield Mo Craiglist
Guidewheel lands $9M Series A-1 for SaaS that boosts manufacturing and trims carbon emissions | TechCrunch
Dexter Gomovies
Nyuonsite
Gopher Hockey Forum
Kamzz Llc
Myhr North Memorial
Exl8000 Generator Battery
27 Paul Rudd Memes to Get You Through the Week
How to Make Ghee - How We Flourish
Bay Area Craigslist Cars For Sale By Owner
CVS Health’s MinuteClinic Introduces New Virtual Care Offering
Osrs Important Letter
UPC Code Lookup: Free UPC Code Lookup With Major Retailers
Home Auctions - Real Estate Auctions
Does Circle K Sell Elf Bars
How To Make Infinity On Calculator
Sports Clips Flowood Ms
Why The Boogeyman Is Rated PG-13
Evil Dead Rise (2023) | Film, Trailer, Kritik
Housing Intranet Unt
craigslist: modesto jobs, apartments, for sale, services, community, and events
062203010
The Wait Odotus 2021 Watch Online Free
The Many Faces of the Craigslist Killer
New Starfield Deep-Dive Reveals How Shattered Space DLC Will Finally Fix The Game's Biggest Combat Flaw
Ajpw Sugar Glider Worth
300+ Unique Hair Salon Names 2024
Image Mate Orange County
ESPN's New Standalone Streaming Service Will Be Available Through Disney+ In 2025
Prologistix Ein Number
Tweedehands camper te koop - camper occasion kopen
Cool Math Games Bucketball
Equinox Great Neck Class Schedule
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 6077

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.