Code Samples > Authentication methods
The Tallyfy API requires proper authentication through personal access tokens or OAuth flow along with specific headers to enable secure platform access and custom integrations.
This section provides practical code examples for common operations using the Tallyfy REST API. Select a category below to find samples in Javascript, Python, Java, and Go.
Choose a category to get started:
All code examples assume you have obtained your Personal Access Token or generated appropriate OAuth tokens. The base URL for API calls (unless otherwise noted) is https://go.tallyfy.com/api
.
Remember to include the following headers in your requests:
Authorization: Bearer {your_access_token}
Accept: application/json
X-Tallyfy-Client: APIClient
Content-Type: application/json
(for requests with a JSON body, like POST or PUT)Code Samples > Authentication methods
Authentication > Get & use a personal access token
Open Api > Integrate with Tallyfy using the API