API
Keys for connecting gGram to your CRM and scripts. Requests go to the same address as the cabinet.
Limits and access
120 requests a minute per key. Above that the server answers 429 and the Retry-After header says how long to wait.
A key opens the working sections: campaigns, leads, dialogues, accounts, templates, statistics and the blocklist. Changing the password, payment, subscription and key management are closed to keys and can only be done from the cabinet.
A key works while you have Pro or Enterprise.
Example request
Send the key in the Authorization header. The list of your campaigns:
curl -H "Authorization: Bearer YOUR_KEY" \ https://api.ggram.xyz/campaigns