Portal
A portal is a branded catalog of integrations and skills for your consumers. Each portal has its own consumers, groups, and access rules.
The Portal object
object"portal"requiredidstringrequiredstatus"active" | "archived" | "deleted"requirednamestringrequiredslugstringrequireddescriptionstringrequirednullableallow_consumer_skill_authoringbooleanrequiredallow_consumer_skill_publishingbooleanrequiredskill_configurationobjectrequiredauthobjectrequiredurlsobject[]requiredmagic_mcp_urlstringrequiredcreated_atdaterequiredupdated_atdaterequiredEndpoints
List portals
/portalsReturns a paginated list of portals.
Query parameters
searchstringoptionalSearch by name or description
Example request
Get portal
/portals/:portal_idRetrieves a portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
Example request
Create portal
/portalsCreates a portal.
Request body
namestringrequiredDisplay name.
descriptionstringoptionalFree-text description.
allowed_redirect_url_filtersobject[]optionalRedirect URL patterns consumers may return to after signing in.
session_expiry_time_in_secondsnumberoptionalHow long consumer sessions stay valid, in seconds.
allow_consumer_skill_authoringbooleanoptionalWhether consumers can create skills on the portal.
allow_consumer_skill_publishingbooleanoptionalWhether consumers can publish skills on the portal.
Example request
Update portal
/portals/:portal_idUpdates a portal. Omitted fields keep their current value.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
Request body
namestringoptionalDisplay name.
descriptionstringoptionalFree-text description.
allowed_redirect_url_filtersobject[]optionalRedirect URL patterns consumers may return to after signing in.
session_expiry_time_in_secondsnumberoptionalHow long consumer sessions stay valid, in seconds.
allow_consumer_skill_authoringbooleanoptionalWhether consumers can create skills on the portal.
allow_consumer_skill_publishingbooleanoptionalWhether consumers can publish skills on the portal.
skill_configurationobjectoptionalSkill settings for the portal.
Example request
Archive portal
/portals/:portal_idArchives a portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal