Oneprofile Table User Prefs API
Endpoints for PER-USER table preferences: favourites and recently opened. Unlike the rest of the table surface these are personal, so two members of one organisation legitimately see different answers.
Endpoints for PER-USER table preferences: favourites and recently opened. Unlike the rest of the table surface these are personal, so two members of one organisation legitimately see different answers.
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/getoneprofile-ai:getoneprofile-ai-table-user-prefs-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. 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:
contact:
email: support@getoneprofile.ai
name: Oneprofile Support
description: REST API reference for Oneprofile, the GTM data layer for your CRM. Manage tables, enrichments, and integrations. Authenticate with an API key to get started.
termsOfService: https://www.getoneprofile.ai/terms
title: Reference | Oneprofile Table User Prefs API
version: 1.0.42765316646
tags:
- description: 'Endpoints for PER-USER table preferences: favourites and recently opened. Unlike the rest of the table surface these are personal, so two members of one organisation legitimately see different answers.'
name: table-user-prefs
paths:
/tables/{table_id}/favorite/:
delete:
description: 'Remove this table from the CALLING USER''s favourites. Favourites are per-user: a teammate''s star stays. Unstarring a table that is not starred changes nothing and counts none.'
operationId: delete_table_favorite
parameters:
- in: path
name: table_id
required: true
schema:
format: uuid
title: Table Id
type: string
- description: Report what would be deleted, and delete nothing.
in: query
name: dry_run
required: false
schema:
default: false
description: Report what would be deleted, and delete nothing.
title: Dry Run
type: boolean
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessfullyDeletedResponse'
description: Successful Response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: Table not found
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/UnprocessableEntityResponse'
description: Invalid request made to the API.
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Internal server error.
'502':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Bad gateway error.
'503':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Service unavailable.
security:
- APIKeyHeader: []
- HTTPBearer: []
summary: Unstar a table
tags:
- table-user-prefs
put:
description: 'Star this table for the CALLING USER. Favourites are per-user, not per-organisation: starring a table does not star it for a teammate. Starring a starred table changes nothing. Unstarring is the delete of the same address.'
operationId: set_table_favorite
parameters:
- in: path
name: table_id
required: true
schema:
format: uuid
title: Table Id
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TableUserPrefsReadSchema'
description: Successful Response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: Table not found
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/UnprocessableEntityResponse'
description: Invalid request made to the API.
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Internal server error.
'502':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Bad gateway error.
'503':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Service unavailable.
security:
- APIKeyHeader: []
- HTTPBearer: []
summary: Star a table
tags:
- table-user-prefs
/tables/{table_id}/last-view/:
get:
description: 'The CALLING USER''s own: the query string of the table page''s address when they last left it (its view, sort, filter and a view''s hidden columns), or null when they left it as it opens for anyone. The dashboard opens a bare table address on it. Never a saved view: nobody else''s table changes.'
operationId: get_table_last_view
parameters:
- in: path
name: table_id
required: true
schema:
format: uuid
title: Table Id
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TableLastViewSchema'
description: Successful Response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: Table not found
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/UnprocessableEntityResponse'
description: Invalid request made to the API.
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Internal server error.
'502':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Bad gateway error.
'503':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Service unavailable.
security:
- APIKeyHeader: []
- HTTPBearer: []
summary: Read the view the caller last left this table on
tags:
- table-user-prefs
patch:
description: 'Set the CALLING USER''s own last view of this table: the query string of the table page''s address (view, sort, filter, a view''s hidden columns), or null to forget it. Per person, and never written into a saved view, so a running sequence that reads a view is never changed by it.'
operationId: set_table_last_view
parameters:
- in: path
name: table_id
required: true
schema:
format: uuid
title: Table Id
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TableLastViewUpdateSchema'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TableLastViewSchema'
description: Successful Response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: Table not found
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/UnprocessableEntityResponse'
description: Invalid request made to the API.
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Internal server error.
'502':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Bad gateway error.
'503':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Service unavailable.
security:
- APIKeyHeader: []
- HTTPBearer: []
summary: Remember the view the caller is leaving this table on
tags:
- table-user-prefs
/tables/{table_id}/open/:
post:
description: 'Note that the CALLING USER just opened this table, which is what feeds their recently-opened list. Best-effort: clients fire it on open and ignore the result. Never touches the starred flag: opening a table says nothing about whether the user wants it starred.'
operationId: record_table_view
parameters:
- in: path
name: table_id
required: true
schema:
format: uuid
title: Table Id
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/TableUserPrefsReadSchema'
description: Successful Response
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedResponse'
description: Unauthorized
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
description: Table not found
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/UnprocessableEntityResponse'
description: Invalid request made to the API.
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Internal server error.
'502':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Bad gateway error.
'503':
content:
application/json:
schema:
$ref: '#/components/schemas/ServerErrorResponse'
description: Service unavailable.
security:
- APIKeyHeader: []
- HTTPBearer: []
summary: Record that the caller opened this table
tags:
- table-user-prefs
components:
schemas:
ForbiddenResponse:
properties:
detail:
description: The detail of why the request is forbidden.
title: Detail
type: string
required:
- detail
title: ForbiddenResponse
type: object
UnprocessableEntityIssue:
properties:
input:
anyOf:
- type: string
- type: integer
- type: number
- type: boolean
- items: {}
type: array
- additionalProperties: true
type: object
description: The user's input that caused the error.
title: Input
loc:
description: The location of the error. Always contains 1 or 2 elements. The first element is the type of location (e.g. 'body', 'query', 'path', 'header'). The second element is the name of the field that caused the error. If the error is not related to a specific field, the second element is not present.
items:
type: string
title: Loc
type: array
msg:
description: The message of the error. The error message to show to the user.
title: Msg
type: string
type:
description: The type of the error. Useful for frontend code to handle different types of errors.
title: Type
type: string
required:
- loc
- msg
- type
- input
title: UnprocessableEntityIssue
type: object
TableLastViewUpdateSchema:
description: Request body for keeping, or forgetting, the view a person is leaving a table on.
properties:
address:
anyOf:
- maxLength: 16384
minLength: 1
type: string
- type: 'null'
description: The table page's query string (view, sort, filter, a view's hidden columns) with no leading '?'; null when they left it as it opens for anyone. Null forgets it.
title: Address
required:
- address
title: TableLastViewUpdateSchema
type: object
ServerErrorResponse:
properties:
detail:
description: The detail of why the server returned an error.
title: Detail
type: string
required:
- detail
title: ServerErrorResponse
type: object
TableUserPrefsReadSchema:
description: 'One user''s relationship with one table.
Per-USER: two people in the same organisation are meant to disagree about
what they have starred.'
properties:
is_favorite:
description: Whether this user starred the table.
title: Is Favorite
type: boolean
last_viewed_at:
anyOf:
- format: date-time
type: string
- type: 'null'
description: When this user last opened the table; null means never.
title: Last Viewed At
required:
- is_favorite
- last_viewed_at
title: TableUserPrefsReadSchema
type: object
UnprocessableEntityResponse:
properties:
detail:
description: The detail of the error. This is the error message to show to the user. You should also use the issues field to show more detailed error messages per field. Use this field for a single liner error message.
title: Detail
type: string
issues:
description: The issues that caused the error. There can be multiple issues. Each issue is a user-facing error message.
items:
$ref: '#/components/schemas/UnprocessableEntityIssue'
title: Issues
type: array
required:
- detail
- issues
title: UnprocessableEntityResponse
type: object
UnauthorizedResponse:
properties:
detail:
description: The detail of why the request is unauthorized.
title: Detail
type: string
required:
- detail
title: UnauthorizedResponse
type: object
TableLastViewSchema:
description: The view one person last left one table on, as its address's query string.
properties:
address:
anyOf:
- type: string
- type: 'null'
description: The table page's query string (view, sort, filter, a view's hidden columns) with no leading '?'; null when they left it as it opens for anyone.
title: Address
required:
- address
title: TableLastViewSchema
type: object
NotFoundResponse:
properties:
detail:
description: The detail of why the resource was not found.
title: Detail
type: string
required:
- detail
title: NotFoundResponse
type: object
SuccessfullyDeletedResponse:
properties:
count:
default: 1
description: The number of resources that were deleted.
title: Count
type: integer
detail:
description: The detail of why the resource was deleted.
title: Detail
type: string
required:
- detail
title: SuccessfullyDeletedResponse
type: object
securitySchemes:
APIKeyHeader:
in: header
name: X-API-Key
type: apiKey
HTTPBearer:
scheme: bearer
type: http