Metricool Brand Roles Api Service API
The Brand Roles Api Service API from Metricool — 2 operation(s) for brand roles api service.
The Brand Roles Api Service API from Metricool — 2 operation(s) for brand roles api service.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/metricool:metricool-brand-roles-api-service-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Metricool Brand Roles Api Service API
description: 'Metricool API
The base URL for all endpoints is: https://app.metricool.com/api
All endpoints require authentication.'
version: 2.0.0
servers:
- url: https://app.metricool.com/api
tags:
- name: Brand Roles Api Service
paths:
/v2/authorization/{userId}/roles:
get:
tags:
- Brand Roles Api Service
operationId: getRoles_1
parameters:
- name: userId
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/JsonOkListResponseBrandRole'
summary: Get roles 1
x-summary-source: derived
post:
tags:
- Brand Roles Api Service
operationId: createBrandRole
parameters:
- name: userId
in: path
required: true
schema:
type: integer
format: int32
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateBrandRoleRequest'
required: true
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/JsonOkResponseBrandRole'
summary: Create brand role
x-summary-source: derived
/v2/authorization/{userId}/roles/{roleId}:
delete:
tags:
- Brand Roles Api Service
operationId: deleteRole
parameters:
- name: userId
in: path
required: true
schema:
type: integer
format: int32
- name: roleId
in: path
required: true
schema:
type: integer
format: int64
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/JsonOkResponseBoolean'
summary: Delete role
x-summary-source: derived
patch:
tags:
- Brand Roles Api Service
operationId: updateRole
parameters:
- name: userId
in: path
required: true
schema:
type: integer
format: int32
- name: roleId
in: path
required: true
schema:
type: integer
format: int64
- name: fields
in: query
required: true
schema:
type: array
items:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateBrandRoleRequest'
required: true
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/JsonOkResponseBrandRole'
summary: Update role
x-summary-source: derived
components:
schemas:
CreateBrandRoleRequest:
required:
- actions
- color
- name
type: object
properties:
name:
minLength: 1
type: string
description:
type: string
color:
minLength: 1
type: string
actions:
$ref: '#/components/schemas/BrandRoleActions'
organizationActions:
$ref: '#/components/schemas/OrganizationRoleActionsDto'
UpdateBrandRoleRequest:
required:
- actions
type: object
properties:
name:
type: string
description:
type: string
color:
type: string
actions:
$ref: '#/components/schemas/BrandRoleActions'
organizationActions:
$ref: '#/components/schemas/OrganizationRoleChangeActionsDto'
OrganizationRoleChangeActionsDto:
type: object
properties:
manageBrands:
type: boolean
description: Whether the role can create and manage brands at the organization level.
manageRoles:
type: boolean
description: Whether the role can create and manage other brand roles at the organization level.
manageTeamMembers:
type: boolean
description: Whether the role can manage team members at the organization level.
manageAgencyConfig:
type: boolean
description: Whether the role can manage the agency configuration.
manageAgencyClients:
type: boolean
description: Whether the role can manage agency clients.
description: 'Partial update of the organization-level permissions granted by a brand role. Each field is nullable: only the fields also listed in the request''s ''fields'' query param are actually applied - the rest are ignored, whether null or not. Omitting this object entirely from the request body (leaving it null) means ''do not touch organization permissions in this PATCH''.'
JsonOkResponseBoolean:
type: object
properties:
metadata:
type: object
page:
$ref: '#/components/schemas/JsonPaging'
data:
type: boolean
OrganizationRoleActionsDto:
type: object
properties:
manageBrands:
type: boolean
description: Whether the role can create and manage brands at the organization level.
manageRoles:
type: boolean
description: Whether the role can create and manage other brand roles at the organization level.
manageTeamMembers:
type: boolean
description: Whether the role can manage team members at the organization level.
manageAgencyConfig:
type: boolean
description: Whether the role can manage the agency configuration.
manageAgencyClients:
type: boolean
description: Whether the role can manage agency clients.
description: Organization-level permissions granted by a brand role, on top of the per-brand actions. Never null in a read response - a role that never had organization permissions set is reported with every field false.
JsonPaging:
type: object
properties:
next:
type: string
JsonOkResponseBrandRole:
type: object
properties:
metadata:
type: object
page:
$ref: '#/components/schemas/JsonPaging'
data:
$ref: '#/components/schemas/BrandRole'
BrandRoleActions:
type: object
properties:
viewAnalytics:
type: boolean
viewInbox:
type: boolean
viewPlanner:
type: boolean
viewAds:
type: boolean
viewSmartlinks:
type: boolean
fullAccessReports:
type: boolean
fullAccessInbox:
type: boolean
fullAccessPlanner:
type: boolean
fullAccessAds:
type: boolean
fullAccessSmartlinks:
type: boolean
fullAccessHashtagTracker:
type: boolean
editBrand:
type: boolean
schedulePosts:
type: boolean
publishPosts:
type: boolean
approvePosts:
type: boolean
viewCondensedAnalytics:
type: boolean
fullAccessDashboards:
type: boolean
viewDashboards:
type: boolean
editFlow:
type: boolean
viewFlow:
type: boolean
fullAccessStudio:
type: boolean
JsonOkListResponseBrandRole:
type: object
properties:
metadata:
type: object
page:
$ref: '#/components/schemas/JsonPaging'
data:
type: array
items:
$ref: '#/components/schemas/BrandRole'
DateTimeInfo:
required:
- dateTime
type: object
properties:
dateTime:
type: string
description: 'Local Date-time represented with a certain timezone '
timezone:
type: string
description: Timezone applied to the datetime
BrandRole:
required:
- actions
- name
- organizationActions
- userId
type: object
properties:
id:
type: integer
format: int64
userId:
type: integer
format: int32
name:
minLength: 1
type: string
description:
type: string
color:
type: string
type:
type: string
assignable:
type: boolean
teamMemberOnly:
type: boolean
deletedDate:
$ref: '#/components/schemas/DateTimeInfo'
deleted:
type: boolean
actions:
$ref: '#/components/schemas/BrandRoleActions'
organizationActions:
$ref: '#/components/schemas/OrganizationRoleActionsDto'
assignedUsersCount:
type: integer
format: int32
assignedEnabledCount:
type: integer
format: int32
assignedDisabledCount:
type: integer
format: int32