Skip to content

Add missing endpoints#65

Draft
IgorDobryn wants to merge 5 commits intomainfrom
MT-21859-python-sdk-add-webhooks-api-tokens-and-sub-accounts-endpoints
Draft

Add missing endpoints#65
IgorDobryn wants to merge 5 commits intomainfrom
MT-21859-python-sdk-add-webhooks-api-tokens-and-sub-accounts-endpoints

Conversation

@IgorDobryn
Copy link
Copy Markdown

Motivation

Changes

API Tokens

  • GET /api/accounts/{account_id}/api_tokens — List API tokens
  • POST /api/accounts/{account_id}/api_tokens — Create API token
  • GET /api/accounts/{account_id}/api_tokens/{id} — Get API token
  • DELETE /api/accounts/{account_id}/api_tokens/{id} — Delete API token
  • POST /api/accounts/{account_id}/api_tokens/{id}/reset — Reset API token

Sub-Accounts (Organizations)

  • GET /api/organizations/{organization_id}/sub_accounts — Get organization sub accounts
  • POST /api/organizations/{organization_id}/sub_accounts — Create organization sub account

Webhooks

  • POST /api/accounts/{account_id}/webhooks — Create a webhook
  • GET /api/accounts/{account_id}/webhooks — List webhooks
  • GET /api/accounts/{account_id}/webhooks/{webhook_id} — Get a webhook
  • PATCH /api/accounts/{account_id}/webhooks/{webhook_id} — Update a webhook
  • DELETE /api/accounts/{account_id}/webhooks/{webhook_id} — Delete a webhook

@IgorDobryn IgorDobryn marked this pull request as draft April 30, 2026 13:32
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 30, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c7da8777-25ee-4624-a40c-e0ed2a3a0cc9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch MT-21859-python-sdk-add-webhooks-api-tokens-and-sub-accounts-endpoints

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@IgorDobryn IgorDobryn force-pushed the MT-21859-python-sdk-add-webhooks-api-tokens-and-sub-accounts-endpoints branch from f0dd9ee to 2e88bbc Compare May 1, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant