Notion

Notion API (all endpoints)

Get all the services on which a song is available

Media & content#music

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Get all the services on which a song is available

Endpoints 68

Agent Skills

  • GETList skills plugins/v1/ai/plugins
  • GETGet a plugin directory/v1/ai/plugins/:id
  • GETGet a skill directory/v1/ai/skills/:id
  • POSTUpload a skill/v1/ai/skills/:id/upload

Databases

  • GETRetrieve a database/v1/databases/:database_id
  • PATCHUpdate a database/v1/databases/:database_id
  • POSTCreate a database/v1/databases

Data sources

  • GETRetrieve a data source/v1/data_sources/:data_source_id
  • PATCHUpdate a data source/v1/data_sources/:data_source_id
  • POSTQuery a data source/v1/data_sources/:data_source_id/query
  • POSTCreate a data source/v1/data_sources
  • GETList templates in a data source/v1/data_sources/:data_source_id/templates

Pages

  • POSTCreate a page/v1/pages
  • GETRetrieve a page/v1/pages/:page_id
  • PATCHUpdate page/v1/pages/:page_id
  • POSTMove a page/v1/pages/:page_id/move
  • GETRetrieve a page property item/v1/pages/:page_id/properties/:property_id
  • GETRetrieve a page as markdown/v1/pages/:page_id/markdown
  • PATCHUpdate a page's content as markdown/v1/pages/:page_id/markdown

Async tasks

  • GETRetrieve an async task/v1/async_tasks/:task_id

Blocks

  • GETRetrieve a block/v1/blocks/:block_id
  • DELETEDelete a block/v1/blocks/:block_id
  • PATCHUpdate a block/v1/blocks/:block_id
  • GETRetrieve block children/v1/blocks/:block_id/children
  • PATCHAppend block children/v1/blocks/:block_id/children

Comments

  • GETList comments/v1/comments?block_id=string
  • POSTCreate a comment/v1/comments
  • GETRetrieve a comment/v1/comments/:comment_id
  • DELETEDelete a comment/v1/comments/:comment_id
  • PATCHUpdate a comment/v1/comments/:comment_id

File uploads

  • GETList file uploads/v1/file_uploads
  • POSTCreate a file upload/v1/file_uploads
  • POSTUpload a file/v1/file_uploads/:file_upload_id/send
  • POSTComplete a multi-part file upload/v1/file_uploads/:file_upload_id/complete
  • GETRetrieve a file upload/v1/file_uploads/:file_upload_id

OAuth

  • POSTExchange an authorization code for an access and refresh token/v1/oauth/token
  • POSTRevoke a token/v1/oauth/revoke
  • POSTIntrospect a token/v1/oauth/introspect

Users

  • GETRetrieve your token's bot user/v1/users/me
  • GETRetrieve a user/v1/users/:user_id
  • GETList all users/v1/users

Search

  • POSTSearch by title/v1/search

Views

  • GETList views/v1/views
  • POSTCreate a view/v1/views
  • GETRetrieve a view/v1/views/:view_id
  • DELETEDelete a view/v1/views/:view_id
  • PATCHUpdate a view/v1/views/:view_id
  • POSTCreate a view query/v1/views/:view_id/queries
  • GETGet view query results/v1/views/:view_id/queries/:query_id
  • DELETEDelete a view query/v1/views/:view_id/queries/:query_id

Agents

  • POSTQuery agents/v1/agents/query
  • GETGet agent/v1/agents/:agent_id
  • DELETEDelete agent/v1/agents/:agent_id
  • PATCHUpdate agent/v1/agents/:agent_id
  • GETGet agent insights/v1/agents/:agent_id/insights
  • PATCHUpdate agent status/v1/agents/:agent_id/statusDeprecated.
  • PATCHUpdate agent credit limit/v1/agents/:agent_id/credit_limit
  • POSTApply many agent operations/v1/agents/batch

Sessions

  • POSTUpdate a session/v1/sessions
  • GETRetrieve a session/v1/sessions/:session_id
  • POSTQuery sessions/v1/sessions/query
  • POSTQuery session events/v1/sessions/:session_id/events/query
  • POSTCancel a session/v1/sessions/:session_id/cancel

Custom emojis

  • GETList custom emojis/v1/custom_emojis

Meeting notes

  • POSTCreate a meeting note/v1/blocks/meeting_notes
  • POSTQuery meeting notes/v1/blocks/meeting_notes/query
  • POSTCreate a full-page meeting note/v1/meeting_notes
  • PATCHLink a full-page meeting note to a calendar event/v1/meeting_notes/:meeting_note_id

API details

Base URL
https://api.notion.com
Authentication
A bearer token in the Authorization header
HTTP Basic authentication (username and password)
Operations
68 operations on 51 pathsGET 26POST 25PATCH 12DELETE 5
1 marked deprecated
Main resources
Agents 8Views 8Pages 7Blocks 5Comments 5Data sources 5File uploads 5Sessions 5Agent Skills 4Meeting notes 4
Response formats
application/json
Webhooks
31 described
Description format
OpenAPI 3.1.0, API version 1.0.0

How to test the Notion API (all endpoints) in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Notion API (all endpoints) collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “List skills plugins” (GET /v1/ai/plugins), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Notion API (all endpoints)?

Get all the services on which a song is available It is listed under Media & content and has 68 endpoints.

Who publishes the Notion API (all endpoints)?

It is listed from Notion's public API description (an OpenAPI document), not published by Notion on Swastik Codes. Anyone who controls notion.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Notion API (all endpoints)?

Requests go to https://api.notion.com. Endpoint paths are added to this base URL.

How do I authenticate with the Notion API (all endpoints)?

It accepts 2 methods: A bearer token in the Authorization header; HTTP Basic authentication (username and password).

How many endpoints does the Notion API (all endpoints) have?

68 operations on 51 paths (26 GET, 25 POST, 12 PATCH, 5 DELETE). The largest groups are Agents, Views, Pages, Blocks.

Is forking the Notion API (all endpoints) free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.