Skip to content

Examples

cURL, Python and JavaScript examples for the TokenGate API.

The examples below use gpt-4o. Replace the model value with any supported model identifier.

Set the Authorization header to Bearer YOUR_TOKENGATE_API_KEY.