Every API here is available over the APIs.io API and to AI agents over MCP.
{
"openapi": "3.0.0",
"info": {
"title": "SponsorUnited API",
"version": "v1"
},
"paths": {
"/api/ai-chatbot/access": {
"get": {
"tags": [
"AI Chatbot"
],
"summary": "Get AI chatbot access token",
"description": "Generates or retrieves an access token for the AI chatbot service. Requires the user to have AI chatbot access permissions",
"operationId": "db297135cc617e1f4ea5407ef93e0343",
"responses": {
"200": {
"description": "Generate or retrieve the AI Chatbot access token.",
"content": {
"application/json": {
"schema": {
"properties": {
"access_token": {
"type": "string"
}
},
"type": "object"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/user/{userId}/surface/admin-context": {
"get": {
"tags": [
"Admin Surface Context"
],
"summary": "Get a user's administrator-set Surface context",
"description": "Returns the administrator-set Surface context for the given user. Separate from the user's own context, which is never returned here. Requires the edit-users permission.",
"operationId": "e9df1a6f4ce6e021b4f3ff72262a5a67",
"parameters": [
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Administrator-set user context",
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"context": {
"type": "string",
"example": "Long-time client contact. Prefers NBA/MLS comps.",
"nullable": true
}
},
"type": "object"
}
},
"type": "object"
}
}
}
},
"401": {
"description": "Unauthenticated"
},
"403": {
"description": "Missing the edit-users permission"
},
"404": {
"description": "User not found"
}
},
"security": [
{
"bearerAuth": []
}
]
},
"put": {
"tags": [
"Admin Surface Context"
],
"summary": "Update a user's administrator-set Surface context",
"description": "Upserts the administrator-set Surface context for the given user, preserving formatting verbatim. Leaves the user's own context untouched. Requires the edit-users permission.",
"operationId": "09be3d68eb05cce7eaf3d639adb3ec00",
"parameters": [
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AdminUserSurfaceContextUpdateRequest"
}
}
}
},
"responses": {
"200": {
"description": "Administrator-set user context updated",
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"context": {
"type": "string",
"example": "Long-time client contact. Prefers NBA/MLS comps.",
"nullable": true
}
},
"type": "object"
}
},
"type": "object"
}
}
}
},
"401": {
"description": "Unauthenticated"
},
"403": {
"description": "Missing the edit-users permission"
},
"404": {
"description": "User not found"
},
"422": {
"description": "Validation error"
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/organization/{organizationId}/surface/admin-context": {
"get": {
"tags": [
"Admin Surface Context"
],
"summary": "Get an organization's administrator-set Surface context",
"description": "Returns the administrator-set Surface context for the given organization. Separate from the organization's own context, which is never returned here. Requires the edit-organization permission.",
"operationId": "52df41e9cf877a06a1d0a91e3517e2d0",
"parameters": [
{
"name": "organizationId",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Administrator-set organization context",
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"context": {
"type": "string",
"example": "Enterprise account, renewal Q3.",
"nullable": true
}
},
"type": "object"
}
},
"type": "object"
}
}
}
},
"401": {
"description": "Unauthenticated"
},
"403": {
"description": "Missing the edit-organization permission"
},
"404": {
"description": "Organization not found"
}
},
"security": [
{
"bearerAuth": []
}
]
},
"put": {
"tags": [
"Admin Surface Context"
],
"summary": "Update an organization's administrator-set Surface context",
"description": "Upserts the administrator-set Surface context for the given organization, preserving formatting verbatim. Leaves the organization's own context untouched. Requires the edit-organization permission.",
"operationId": "57494f69be64682492a50cc084a7996f",
"parameters": [
{
"name": "organizationId",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AdminOrganizationSurfaceContextUpdateRequest"
}
}
}
},
"responses": {
"200": {
"description": "Administrator-set organization context updated",
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"properties": {
"context": {
"type": "string",
"example": "Enterprise account, renewal Q3.",
"nullable": true
}
},
"type": "object"
}
},
"type": "object"
}
}
}
},
"401": {
"description": "Unauthenticated"
},
"403": {
"description": "Missing the edit-organization permission"
},
"404": {
"description": "Organization not found"
},
"422": {
"description": "Validation error"
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/agency": {
"post": {
"tags": [
"Agency"
],
"summary": "Create a new agency",
"description": "Creates a new agency with the provided details including name, contact information, social media handles, and optional brand/property associations",
"operationId": "1387e8e891a95fcc75a59818ab8ed345",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyStoreRequest"
}
}
}
},
"responses": {
"200": {
"description": "The new Agency.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyShowStoreUpdateResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/agency/{id}": {
"get": {
"tags": [
"Agency"
],
"summary": "Get agency details",
"description": "Retrieves detailed information about a specific agency including its companies, properties, organizations, social handles, and service groups. Use the slim parameter for reduced data",
"operationId": "8f592b30c702d786206f4af44f62656d",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the Agency to fetch.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "slim",
"in": "query",
"description": "Fetch slimmed down Agency data.",
"schema": {
"type": "boolean"
}
}
],
"responses": {
"200": {
"description": "An agency with the given id.",
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/AgencyLightResource"
},
{
"$ref": "#/components/schemas/AgencyShowStoreUpdateResource"
}
]
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"put": {
"tags": [
"Agency"
],
"summary": "Update an agency",
"description": "Updates an existing agency's information including profile details, social handles, company/property associations, and organization memberships",
"operationId": "2ada65983d8b161abd1b6df83fdd09ca",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the Agency to update.",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyUpdateRequest"
}
}
}
},
"responses": {
"200": {
"description": "The updated Agency.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyShowStoreUpdateResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"delete": {
"tags": [
"Agency"
],
"summary": "Delete an agency",
"description": "Soft deletes an agency and cleans up associated data including contacts, social handles, and profile links. Requires delete administration agencies permission",
"operationId": "444a655b9280f1ef01ed3e6da2710f55",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Agency ID",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Empty on success."
},
"200": {
"description": "Cannot remove Agency",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/agency/{id}/representation": {
"get": {
"tags": [
"Agency"
],
"summary": "Get agency representation",
"description": "Retrieves an agency's representation data including its associated properties and companies with their logos. Includes soft-deleted agencies",
"operationId": "924e90a51d9fe2c213d2ef0ee6048db2",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the Agency for which to fetch representation.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "An agency with the given id and its representation.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyShowStoreUpdateResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/agency-services": {
"get": {
"tags": [
"AgencyServices"
],
"summary": "List agency services",
"description": "Returns a list of all agency services with their types and usage counts",
"operationId": "85bce9769d63ca8dad86af3f42cb6150",
"responses": {
"200": {
"description": "List of agency services",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgencyServicesIndexResource"
}
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"post": {
"tags": [
"AgencyServices"
],
"summary": "Create agency service",
"description": "Creates a new agency service with the specified name and service type",
"operationId": "bfbab5f8ae68d4b5e57d2fd823eeae7d",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServiceCreateRequest"
}
}
}
},
"responses": {
"200": {
"description": "Service Type details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServicesResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/agency-services/{id}": {
"get": {
"tags": [
"AgencyServices"
],
"summary": "Get agency service",
"description": "Returns the details of a specific agency service by ID",
"operationId": "b04e408d558c062de7bb82899f31b744",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Service Type id",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "Service Type details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServicesResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"put": {
"tags": [
"AgencyServices"
],
"summary": "Update agency service",
"description": "Updates an existing agency service's name or service type",
"operationId": "142b17c11ca48d83b3e2ce56afdea2d5",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServiceUpdateRequest"
}
}
}
},
"responses": {
"200": {
"description": "Service Type details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServicesResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"delete": {
"tags": [
"AgencyServices"
],
"summary": "Delete agency service",
"description": "Permanently removes an agency service from the system",
"operationId": "bb5672bb8cda537bd4fc59c8b5f658bd",
"parameters": [
{
"name": "id",
"in": "path",
"description": "AgencyServices Id",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Empty on success."
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/agency-services-types": {
"get": {
"tags": [
"AgencyServicesType"
],
"summary": "List agency service types",
"description": "Returns all available agency service types with optional filtering by name and sorting options",
"operationId": "e741361353dffb28f2d2360486ead685",
"responses": {
"200": {
"description": "List of agency services types.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AgencyServicesTypeIndexResource"
}
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"post": {
"tags": [
"AgencyServicesType"
],
"summary": "Create agency service type",
"description": "Creates a new agency service type with the provided data",
"operationId": "4220a5c00d542910c4a18d46e9eb8f8e",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServiceTypeCreateRequest"
}
}
}
},
"responses": {
"200": {
"description": "Service Type details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServicesTypeResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/agency-services-types/{type_id}": {
"get": {
"tags": [
"AgencyServicesType"
],
"summary": "Get agency service type",
"description": "Returns the details of a specific agency service type by its ID",
"operationId": "b4e4f49e59e0651f4de4ab71afb32d75",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Service Type id",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "Service Type details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServicesTypeResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"put": {
"tags": [
"AgencyServicesType"
],
"summary": "Update agency service type",
"description": "Updates an existing agency service type with the provided data",
"operationId": "d44a64dbb51364ce2ddee8d04bfd2d8b",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServiceTypeUpdateRequest"
}
}
}
},
"responses": {
"200": {
"description": "Service Type details.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgencyServicesTypeResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"delete": {
"tags": [
"AgencyServicesType"
],
"summary": "Delete agency service type",
"description": "Deletes an agency service type by its ID. Requires delete permission",
"operationId": "75ed2ac36401e5549e10cc290d6e7c3e",
"parameters": [
{
"name": "id",
"in": "path",
"description": "AgencyServicesType Id",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Empty on success."
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-grouping": {
"get": {
"tags": [
"Asset Groupings"
],
"summary": "List all asset groupings",
"description": "Returns a paginated list of asset groupings with their subgroupings",
"operationId": "f08b79a015056c8d4bd68063aa05cb8e",
"parameters": [
{
"name": "AssetGroupingIndexRequest",
"in": "query",
"schema": {
"$ref": "#/components/schemas/AssetGroupingIndexRequest"
}
}
],
"responses": {
"200": {
"description": "List of asset groupings",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetGroupingIndexResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"post": {
"tags": [
"Asset Groupings"
],
"summary": "Create asset grouping",
"description": "Creates a new asset grouping with optional media order",
"operationId": "1390482d2e687fc2fd012794a51c7769",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetGroupingRequest"
}
}
}
},
"responses": {
"200": {
"description": "The new asset grouping.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetGroupingResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-grouping/{id}": {
"get": {
"tags": [
"Asset Groupings"
],
"summary": "Get asset grouping",
"description": "Returns a specific asset grouping with its subgroupings",
"operationId": "5b2f6ebcc14c9db79b7eead42722a3d3",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the asset grouping to update.",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "The updated asset grouping.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetGroupingResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"put": {
"tags": [
"Asset Groupings"
],
"summary": "Update asset grouping",
"description": "Updates the name, icon, and media order of an existing asset grouping",
"operationId": "8c2481c0f8bd2c903fe90e204089a587",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the asset grouping to update.",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetGroupingRequest"
}
}
}
},
"responses": {
"200": {
"description": "The updated item grouping.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetGroupingResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"delete": {
"tags": [
"Asset Groupings"
],
"summary": "Delete asset grouping",
"description": "Removes an asset grouping and its associated subgroupings",
"operationId": "fca80b6282fcf00122c60f4b336f308b",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Empty on success."
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-grouping/{old_grouping}/reassign": {
"put": {
"tags": [
"Asset Groupings"
],
"summary": "Reassign asset grouping",
"description": "Moves all items from one asset grouping to another",
"operationId": "1838061788f7a8e5f4af39b182b6fc75",
"parameters": [
{
"name": "old_grouping",
"in": "path",
"description": "The id of the old grouping",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetGroupingReassignRequest"
}
}
}
},
"responses": {
"200": {
"description": "The reassign was successfully.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetGroupingResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-subgrouping/": {
"get": {
"tags": [
"Asset Subgroupings"
],
"summary": "List all asset subgroupings",
"description": "Returns all asset subgroupings with their parent groupings ordered by media order",
"operationId": "ab50fb3a5295ae73d825ecb7c7543008",
"responses": {
"200": {
"description": "List of asset subgroupings",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingIndexResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-subgrouping": {
"post": {
"tags": [
"Asset Subgroupings"
],
"summary": "Create asset subgrouping",
"description": "Creates a new asset subgrouping under a specified grouping",
"operationId": "10e2ffa916cfeaf6e4d8360511b64908",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingStoreRequest"
}
}
}
},
"responses": {
"200": {
"description": "The new asset subgrouping.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-subgrouping/{id}": {
"get": {
"tags": [
"Asset Subgroupings"
],
"summary": "Get asset subgrouping",
"description": "Returns a specific asset subgrouping with its parent grouping",
"operationId": "5298a5dfd5179098c87173ff85b91f0e",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the asset grouping to update.",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "The updated asset grouping.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"put": {
"tags": [
"Asset Subgroupings"
],
"summary": "Update asset subgrouping",
"description": "Updates the name, grouping association, and icon of an existing subgrouping",
"operationId": "02261538464d9b2e00ca4513c83ec0db",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the asset grouping to update.",
"required": true,
"schema": {
"type": "integer"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingUpdateRequest"
}
}
}
},
"responses": {
"200": {
"description": "The updated asset grouping.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
},
"delete": {
"tags": [
"Asset Subgroupings"
],
"summary": "Delete asset subgrouping",
"description": "Removes an asset subgrouping from the system",
"operationId": "4918ef38b51abd58cec25b79dcc6f41d",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"204": {
"description": "Empty on success."
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-subgrouping/{id}/intent": {
"get": {
"tags": [
"Asset Subgroupings"
],
"summary": "Get subgrouping intent data",
"description": "Returns usage metrics for a subgrouping including item counts and audit references",
"operationId": "40322c27f64945cb564c31f36ddb9557",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Asset subgrouping intent",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingIntentResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-subgrouping/{oldGrouping}/reassign/{newGrouping}": {
"put": {
"tags": [
"Asset Subgroupings"
],
"summary": "Reassign asset subgrouping",
"description": "Moves all items from one subgrouping to another",
"operationId": "f0158fb0e40bb7841ed8dbcf14e761ed",
"parameters": [
{
"name": "oldGrouping",
"in": "path",
"description": "The id of the old subgrouping",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "newGrouping",
"in": "path",
"description": "The id of the new subgrouping",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "The reassign was successfully.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingIntentResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/asset-subgrouping/tag/{oldTag}": {
"put": {
"tags": [
"Asset Subgroupings"
],
"summary": "Update subgrouping tag",
"description": "Renames a tag across all subgroupings that have it",
"operationId": "8d5112c31deb47ed1eea83a8e5e290af",
"parameters": [
{
"name": "oldTag",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingTagRequest"
}
}
}
},
"responses": {
"200": {
"description": "The update tag was changed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AssetSubgroupingIndexResource"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/audit/{event_id}/team/{team_id}/company/{brand_id}": {
"get": {
"tags": [
"Audits"
],
"summary": "Get audit by brand for current user",
"description": "Returns audit data for a specific event, team, and brand combination for the authenticated user",
"operationId": "11f41b8d9f2333f1e9d669b8b620291b",
"parameters": [
{
"name": "event_id",
"in": "path",
"description": "The ID of the event",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "team_id",
"in": "path",
"description": "The ID of the team/property",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "brand_id",
"in": "path",
"description": "The ID of the brand/company",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "Audit data with brand, event, team, user, and item values"
},
"401": {
"description": "Unauthenticated"
}
},
"security": [
{
"bearerAuth": []
}
]
}
},
"/api/audit/{event_id}/team/{team_id}/review/{user_id}": {
"get": {
"tags": [
"Audits"
],
"summary": "Get audits for review",
"description": "Returns all audits for a specific event, team, and user for review purposes",
"operationId": "a66f6d57d90708be64f31f82049c8ec0",
"parameters": [
{
"name": "event_id",
"in": "path",
"description": "The ID of the event",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "team_id",
"in": "path",
"description": "The ID of the team/property",
"required": true,
"schema": {
"type": "integer"
}
},
{
"name": "user_id",
"in": "path",
"description": "The ID of the user",
"required": true,
"schema": {
"type": "integer"
}
}
],
"responses": {
"200": {
"description": "List of audits for review"
},
"401": {
# --- truncated at 32 KB (1117 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sponsorunited/refs/heads/main/openapi/sponsorunited-api-openapi.json