Strapi · Example Payload

Strapi Admin Login Example

CMSContent ManagementHeadless CMSNode.jsOpen Source

Strapi Admin Login Example is an example object payload from Strapi, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://localhost:1337/admin/login",
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "email": "admin@example.com",
      "password": "SecurePassword123!"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "data": {
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
        "user": {
          "id": 1,
          "firstname": "Jane",
          "lastname": "Admin",
          "email": "admin@example.com",
          "isActive": true,
          "blocked": false,
          "preferedLanguage": "en",
          "roles": [
            {
              "id": 1,
              "name": "Super Admin",
              "code": "strapi-super-admin",
              "description": "Super Admins can access and manage all features and settings.",
              "usersCount": 1
            }
          ],
          "createdAt": "2026-01-01T00:00:00.000Z",
          "updatedAt": "2026-05-02T08:00:00.000Z"
        }
      }
    }
  }
}