Skip to content
ProductCraft
DocsPricingChangelog
Sign inOpen the console
Console

Available now

  • AuthSign-in, organizations and roles
  • MailTransactional email on your domain
  • WaitlistWaitlists without the spreadsheet
  • SocialFeeds, follows, ranking
  • TrawlTurn web pages into JSON
  • FlagsFeature flags evaluated in your app
  • NotifyInbox, email and push in one call
PLATFORMSeven products, one workspaceOne account and one API key for all seven.See the lineup→
ProductCraft

Available now

  • AuthSign-in, organizations and roles
  • MailTransactional email on your domain
  • WaitlistWaitlists without the spreadsheet
  • SocialFeeds, follows, ranking
  • TrawlTurn web pages into JSON
  • FlagsFeature flags evaluated in your app
  • NotifyInbox, email and push in one call
  • Docs
  • Pricing
  • Changelog
Sign in
← Platform API reference

Platform API · Authentication

post/v1/auth/logout

Logout by revoking refresh token

Request body

refresh_token*string

Refresh token (JWT)

Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

Response · 204

Logout successful (no content)

Example

Request

POST https://api.platform-auth.productcraft.co/v1/auth/logout
Content-Type: application/json

{
  "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

More in Authentication

  • post/v1/auth/signupCreate a new account and sign in
  • post/v1/auth/signinSign in with email/username and password
  • post/v1/auth/refreshRefresh access token using refresh token
  • post/v1/auth/logoutLogout by revoking refresh token
  • post/v1/auth/logout-currentRevoke the server-side session tied to the caller’s current access token
  • post/v1/auth/password/request-resetRequest a password reset email. Neither the response nor its timing reveals whether the email matched an account.
  • post/v1/auth/password/resetReset password using the email-delivered reset token.
← Refresh access token using refresh tokenRevoke the server-side session tied to the caller’s current access token →
ProductCraft

Backend building blocks for you and your AI agents.

Products

  • Auth
  • Mail
  • Waitlist
  • Social
  • Trawl
  • Flags
  • Notify

Developers

  • Documentation
  • Auth docs
  • Mail docs
  • Waitlist docs
  • Social docs
  • Trawl docs
  • Flags docs
  • Notify docs
  • SDKs
  • MCP

Resources

  • npm
  • GitHub
  • Changelog
  • Status
  • Roadmap

Company

  • Pricing
  • Contact

Legal

  • Privacy
  • Terms

© 2026 ProductCraft. All rights reserved.

Made for builders. hello@productcraft.co