Provider
Provider is a third-party Lytics Integration with (Mailchimp, Optimizely, Mixpanel, Facebook etc). It should not generally be needed unless you need provider IDs for managing Auths.
Provider List
/api/provider
GET
Provider List
/api/provider
Provider list API:
Response 200
Headers
Content-Type: application/json
Body
{
"data": [
{
"auth_description": "",
"categories": [
"source",
"social",
"export"
],
"description": "",
"hidden": false,
"id": "26cae7718c32180a7a0f8e19d6d40a59",
"name": "Facebook",
"namespace": "fb",
"no_auth": false,
"oauth2": {
"auth_endpoint": "https://www.facebook.com/dialog/oauth",
"auth_params": {
"response_type": [
"code"
]
},
"client_id": "000000000000000",
"redirect_uri": "https://api.lytics.io/api/oauth/receive",
"scope": "email,read_insights,manage_pages,ads_management",
"token_endpoint": "https://graph.facebook.com/oauth/access_token"
},
"slug": "facebook"
},
....
]
"message": "success",
"status": 200
}
Provider
/api/provider/:provider_slug
Get Single Provider
GET
Provider Fetch
/api/provider/:provider_slug
Get single Provider
Response 200
Headers
Content-Type: application/json
Body
{
"data": {
"auth_description": "",
"categories": [
"source",
"social",
"export"
],
"description": "",
"id": "26cae7718c32180a7a0f8e19d6d40a59",
"name": "Facebook",
"slug": "facebook"
}
}