curl --request POST \
--url 'https://api.adside.ai/meta/mcp#generate_system_user_token' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"system_user_id": "<string>",
"scopes": [
"ads_management"
],
"expiring_token": true
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}Generate an access token for a Business Manager system user. Used for server-to-server automation with configurable expiration.
curl --request POST \
--url 'https://api.adside.ai/meta/mcp#generate_system_user_token' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "<string>",
"method": "<string>",
"params": {
"name": "<string>",
"arguments": {
"system_user_id": "<string>",
"scopes": [
"ads_management"
],
"expiring_token": true
}
},
"id": "1"
}
'{
"jsonrpc": "<string>",
"id": "<string>",
"result": {
"content": [
{
"type": "<string>",
"text": "<string>"
}
]
}
}API key (sk_live_*) — SHA256 hashed, looked up in Redis. Generate via the web app's workspace settings.