API Documentation
Complete reference for the MMP Attribution API v1
Authentication
POST
/api/v1/auth/tokenGenerate an API access token using your app credentials.
Request Body
{
"app_id": "your_app_id",
"api_key": "your_api_key"
}Response
{
"token": "eyJhbG...",
"expires_in": 3600
}POST
/api/v1/auth/refreshRefresh an existing access token before it expires.
Request Body
{
"refresh_token": "rt_abc123..."
}Response
{
"token": "eyJhbG...",
"expires_in": 3600
}DELETE
/api/v1/auth/revokeRevoke an existing API token.
Request Body
{
"token": "eyJhbG..."
}Response
{
"success": true
}