API - Access Codes (V2) - Glitch

Access Code Log API V2

Enabling Advanced Tracking & Metrics

This API for access codes will allow you to bridge your billing to our esports platform. Further, this API will enable you to log all generated access codes for clipfeed to store and manage.


Using this API will allow:

- View all generated access codes
- Track and manage conversions
- Detect and resolve any registration issues


POST access-log/ 

Creates AccessLog.


Parameters:

Input
Type
Description
access_code
string
Unencrypted Access Code
generation_client
string
Name of the organisation that created the access code (e.g. clipfeed)
generation_date
unix
Date that the access code was created on

Response:

Output
Type
Description
success
true
The response of this API will be 'success' = 'true'

API Key

tKOrdhPeo92Rqpgf91lUxoNpCNQpAB-5


Headers:

XF-API-KEY: {APIKey} 

XF-API-USER: 1


Real CURL post example:

curl -X POST -k https://yoursite/api/acess-log -H 'XF-API-KEY:

tKOrdhPeo92Rqpgf91lUxoNpCNQpAB-5' -d 

'access_code=123&generation_client=clipfeed&generation_date=1607424491'