Charthop approval-delegate API
The approval-delegate API from Charthop — 5 operation(s) for approval-delegate.
The approval-delegate API from Charthop — 5 operation(s) for approval-delegate.
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/charthop-approval-delegate-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
description: REST API for ChartHop
version: V1.0.0
title: ChartHop access Approval Delegate API
contact:
name: ChartHop
url: https://www.charthop.com
email: support@charthop.com
servers:
- url: https://localhost
- url: http://localhost
tags:
- name: approval-delegate
paths:
/v2/org/{orgId}/approval-delegate:
get:
tags:
- approval-delegate
summary: List the acting user's approval delegates
operationId: listDelegates
parameters:
- name: orgId
in: path
description: Org identifier (id or slug)
required: true
schema:
type: string
responses:
'200':
description: successful operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ApprovalDelegate'
'401':
description: not authorized
'404':
description: feature not enabled
/v2/org/{orgId}/approval-delegate/all:
get:
tags:
- approval-delegate
summary: List every approver's delegates in the org, grouped by approver and enriched with user/job refs
operationId: listAllDelegates
parameters:
- name: orgId
in: path
description: Org identifier (id or slug)
required: true
schema:
type: string
- name: returnAccess
in: query
description: Comma-separated actions to return per-approver access for (e.g. update)
required: false
schema:
type: string
responses:
'200':
description: successful operation
'401':
description: not authorized
'404':
description: feature not enabled
/v2/org/{orgId}/approval-delegate/bulk:
post:
tags:
- approval-delegate
summary: Set or remove approval delegates on behalf of users in a single atomic batch
operationId: bulkSetDelegates
parameters:
- name: orgId
in: path
description: Org identifier (id or slug)
required: true
schema:
type: string
responses:
'200':
description: successful operation
'400':
description: invalid delegate job
'401':
description: not authorized
'404':
description: feature not enabled
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BulkSetDelegatesRequest'
description: Bulk delegate changes
required: true
/v2/org/{orgId}/approval-delegate/delegated-to-me:
get:
tags:
- approval-delegate
summary: List the approvers the acting user is a delegate for
operationId: listDelegatedToMe
parameters:
- name: orgId
in: path
description: Org identifier (id or slug)
required: true
schema:
type: string
responses:
'200':
description: successful operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RepresentedApprover'
'401':
description: not authorized
'404':
description: feature not enabled
/v2/org/{orgId}/approval-delegate/{type}:
put:
tags:
- approval-delegate
summary: Set (or replace) the delegate for the given approval type
operationId: setDelegate
parameters:
- name: orgId
in: path
description: Org identifier (id or slug)
required: true
schema:
type: string
- name: type
in: path
description: Approval type
required: true
schema:
type: string
enum:
- SCENARIO
- TIME_OFF
- FORM
responses:
'200':
description: successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/ApprovalDelegate'
'400':
description: invalid delegate job
'401':
description: not authorized
'404':
description: feature not enabled
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SetDelegateRequest'
description: Delegate request body
required: true
delete:
tags:
- approval-delegate
summary: Remove the delegate for the given approval type
operationId: deleteDelegate
parameters:
- name: orgId
in: path
description: Org identifier (id or slug)
required: true
schema:
type: string
- name: type
in: path
description: Approval type
required: true
schema:
type: string
enum:
- SCENARIO
- TIME_OFF
- FORM
responses:
'204':
description: successful operation
'401':
description: not authorized
'404':
description: feature not enabled or no delegate set
components:
schemas:
Attribution:
type: object
properties:
principalUserId:
type: string
example: 588f7ee98f138b19220041a7
agentUserIds:
type: array
items:
type: string
example: 588f7ee98f138b19220041a7
eventId:
type: string
example: 588f7ee98f138b19220041a7
aiChatId:
type: string
example: 588f7ee98f138b19220041a7
aiToolUseId:
type: string
channel:
type: string
enum:
- WEB
- MOBILE
- SLACK
- TEAMS
- MCP
DelegateChange:
type: object
required:
- userId
- type
properties:
userId:
type: string
example: 588f7ee98f138b19220041a7
type:
type: string
enum:
- SCENARIO
- TIME_OFF
- FORM
delegateJobId:
type: string
example: 588f7ee98f138b19220041a7
startDate:
type: string
format: date
endDate:
type: string
format: date
RepresentedApprover:
type: object
required:
- approverUserId
- type
properties:
approverUserId:
type: string
example: 588f7ee98f138b19220041a7
approverName:
$ref: '#/components/schemas/Name'
type:
type: string
enum:
- SCENARIO
- TIME_OFF
- FORM
SetDelegateRequest:
type: object
required:
- delegateJobId
properties:
delegateJobId:
type: string
example: 588f7ee98f138b19220041a7
startDate:
type: string
format: date
endDate:
type: string
format: date
ApprovalDelegate:
type: object
required:
- id
- orgId
- userId
- type
- delegateJobId
properties:
id:
type: string
description: globally unique id
example: 588f7ee98f138b19220041a7
orgId:
type: string
description: parent organization id
example: 588f7ee98f138b19220041a7
userId:
type: string
description: user who set the delegate (the original approver)
example: 588f7ee98f138b19220041a7
type:
type: string
description: type of approval being delegated
enum:
- SCENARIO
- TIME_OFF
- FORM
delegateJobId:
type: string
description: job id of the delegate (job must be filled at set-time)
example: 588f7ee98f138b19220041a7
startDate:
type: string
format: date
description: date the delegation becomes active, inclusive (the delegate's read-visibility lower bound); defaults to the org's today on create/reassignment
endDate:
type: string
format: date
description: date the delegation stops being active, inclusive; null = never expires
createId:
type: string
description: created by user id
example: 588f7ee98f138b19220041a7
createBehalfId:
type: string
description: created on behalf of user id
example: 588f7ee98f138b19220041a7
createAttribution:
$ref: '#/components/schemas/Attribution'
createAt:
type: string
description: created timestamp
example: '2017-01-24T13:57:52Z'
updateId:
type: string
description: last updated by user id
example: 588f7ee98f138b19220041a7
updateBehalfId:
type: string
description: last updated on behalf of user id
example: 588f7ee98f138b19220041a7
updateAttribution:
$ref: '#/components/schemas/Attribution'
updateAt:
type: string
description: last updated timestamp
example: '2017-01-24T13:57:52Z'
BulkSetDelegatesRequest:
type: object
required:
- changes
- notify
properties:
changes:
type: array
items:
$ref: '#/components/schemas/DelegateChange'
notify:
type: boolean
Name:
type: object
required:
- last
properties:
first:
type: string
description: first name
example: Jane
minItems: 0
maxItems: 80
middle:
type: string
description: middle name
example: Quidditch
minItems: 0
maxItems: 80
last:
type: string
description: last name
example: Public
minItems: 0
maxItems: 80
pref:
type: string
description: preferred first name
example: JQ
minItems: 0
maxItems: 80
prefLast:
type: string
description: preferred last name
example: Smith
minItems: 0
maxItems: 80