Auth
Get bearer token
Exchanges an OMS API key + secret for a bearer token valid for 60 minutes. The token is signed by the OMS issuer and must be presented as Authorization Bearer <token> on every other endpoint.
post/auth/token
Request
- Base URLhttps://sandbox-api.polygon.technology/v0.10
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"apiKey": "sk_live_abc123...",
"apiSecret": "opaque-bearer-secret..."
}Response
Token issued
Example response
{
"accessToken": "eyJhbGciOiJSUzI1NiIs...",
"expiresIn": 3600
}Changes
No recorded changes to this operation across all 1 revision of this API.