API ReferenceAuth
Authorization
bearerAuth AuthorizationBearer <token>
appSecret or sessionToken
In: header
Request Body
application/json
appSlug*string
App identifier
appSecret*string
Server-only app secret
ttlMs?number
Token TTL in milliseconds (default: 1 hour)
Response Body
application/json
curl -X POST "https://your-convex-deployment.convex.site/api/auth/session" \ -H "Content-Type: application/json" \ -d '{ "appSlug": "string", "appSecret": "string" }'{}Edit on GitHub
Last updated on