Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Add documentation: new docs#6

Open
quantstruct-dev-newman[bot] wants to merge 1 commit intomainquantstruct/a1base-docs:mainfrom
quantstruct/content-20250207-143340quantstruct/a1base-docs:quantstruct/content-20250207-143340Copy head branch name to clipboard
Open

Add documentation: new docs#6
quantstruct-dev-newman[bot] wants to merge 1 commit intomainquantstruct/a1base-docs:mainfrom
quantstruct/content-20250207-143340quantstruct/a1base-docs:quantstruct/content-20250207-143340Copy head branch name to clipboard

Conversation

@quantstruct-dev-newman
Copy link

Comprehensive API Request and Response Examples

This document provides detailed request and response examples for various API endpoints, including successful scenarios and common error cases. These examples are intended to help developers understand how to properly interact with the API.

Request Examples

This section provides examples of how to construct requests to different API endpoints. Examples are provided in both JSON (for request bodies) and cURL formats. Remember to replace placeholder values with your actual data.

POST /v1/messages/individual/{accountId}/send

This endpoint sends a message to an individual.

JSON Request Body Example:

{
  "content": "Hello, this is a test message!",
  "attachment_uri": "https://example.com/attachment.pdf",
  "from": "61421868490",
  "to": "61433174782",
  "service": "whatsapp"
}

cURL Example:

curl -X POST \
  'https://your-api-domain.com/v1/messages/individual/your_account_id/send' \
  -H 'Conten

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.

0 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.