Verify JWT Token using API (serverless)
If you don't have a backend server, for example, if you're using Webflow, we have provided an API endpoint to validate the access token from Cotter.
Verify JWT Token from Cotter
POST
https://worker.cotter.app/verify
If you don't have a server to verify Cotter's JWT token, you can do so by calling this API.
Headers
Name | Type | Description |
---|---|---|
API_KEY_ID | string | Your "API_KEY_ID". It's recommended to include your API KEY ID so it validates that the token is made for your project. |
Content-Type | string |
|
Request Body
Name | Type | Description |
---|---|---|
oauth_token | object | The `oauth_token` object that is returned by Cotter's Response. It should have an attribute called `access_token` with the access token that you want to verify. |
Example HTTP Request:
Example with Javascript:
Last updated