Each Piriod User Account has one API key that allows access to all Piriod Organizations to which said user account has access.
Piriod authenticates your API requests using the API key of your User Account. If you don't send the API key in the request or the API key is wrong, Piriod will return an authentication error.
To obtain your API key you must go to the Account Security section in your User Account.
Get your Piriod Organization ID
Each Piriod Organization has a unique identifier that is related with your Piriod User Account API key.
Piriod authenticates your API requests also using the Piriod Organization ID. If you don't submit the Organization ID or the Organization ID is wrong, Piriod will return an authentication error.
To obtain your API key you must go to the Organizations section in your User Account.
Make an API request
Python
import requests
PIRIOD_API_URL ='https://api.piriod.com'
PIRIOD_API_KEY ='9bba430e7a8a64c2111bf29f497ec58b15906f47'# replace with your api id
PIRIOD_ORGANIZATION_ID ='acc_8a64c2111bf29fc5'# replace with your organization id
If your API request was successful, you can now start integrating the different Piriod API resources. Learn how each resource works by navigating with the left side menu.