Overview
This page describes our Partner API.
The 360dialog Partner API follows REST principles. It uses predictable, resource-oriented URLs, accepts form-encoded request bodies, returns JSON-formatted responses, and relies on standard HTTP methods, authentication mechanisms, and response status codes.
The 360dialog Partner API enables the programmatic management of WhatsApp Business Accounts and phone numbers. It enables Partners to automate workflows and build a seamless onboarding and management experience for their clients.
To get started, you will need:
Partner ID
Partner Hub login credentials
Partner ID
The Partner ID is a unique identifier used for most Partner API requests. You can find your Partner ID by logging into the 360dialog Partner Hub in your browser and navigating to the Partner Integration section.

Login Credentials
When a Partner account is created, you will receive an email invitation to activate the account and set a password.
Base URL
The default base URL for the 360dialog Partner API is https://hub.360dialog.io/api/v2
Authentication
The Partner API supports two authentication methods:
API Key (Recommended)
Bearer Token
Partner API Key and Bearer Tokens are only intended for API calls to hub.360Dialog.io/* .
For the Messaging API ( https://waba-v2.360dialog.io/* ) the supported authentication method is through the use of D360-API Keys. Adding D360-API-KEY in the header with your Client's unique API Key as a value will grant access to Messaging API. See how to retrieve an API key here.
API Key Authentication (Recommended)
Allows secure access to the Partner API without requiring user credentials. Each request must include a valid API key in the request headers.
How to Obtain an API Key
Navigate to the API Keys section in the Partner Dashboard
Generate an API key. Store the key securely, as it grants access to the Partner API. It will only be displayed once
Using the API key
Include the API Key in the request header:
Example Request
Best Practices for API Authentication
API Keys Usage: Use API Keys for service-to-service communication.
API Keys Rotation: Rotate keys periodically to maintain security.
Secure Storage: Always store API keys and credentials securely. Avoid exposing them publicly or hardcoding them in client-side code - use environment variables instead.
Error Handling: Handle authentication errors gracefully. Common errors include:
401 Unauthorized: Invalid or missing authentication credentials.
403 Forbidden: Valid credentials, but insufficient permissions.
Bearer Token Authentication (Deprecated)
Bearer Token authentication is still supported, but it is not recommended for use.
Show instructions
To obtain a Bearer Token, provide your username (email) and password.
Request OAuth token for any Partner API request
POST https://hub.360dialog.io/api/v2/token
Request example
Request Body
password*
string
Example: 123StrongPass4Me!
Response:
After the token is received, use this access token in the authorization header:
Partner Webhook URL
A Webhook URL is required to receive notifications for certain events relating to a Partner Account and connected Client Accounts. You can set a Partner URL in the Partner Hub UI or via API endpoint.
Filtering and sorting the API output
Filtering
Allows results to be narrowed down.
For users running curl in a Bash or Linux environment: Because filtering syntax utilizes special characters like { and }, you must escape these symbols with a backslash (\).
Filtering Examples
Get a specific channel.
Get a client by contact email.
Filter channels by channel property.
Filtering options
Sorting
Allows results to be ordered as needed.
Examples:
ascending:
https://hub.360dialog.io/api/v2/partners/partner-id/clients?sort=iddescending:
https://hub.360dialog.io/api/v2/partners/partner-id/clients?sort=-id
Sorting options
Channel Statuses
The availability_status property indicates the readiness of a channel for manage traffic.
Status
Description
ready
The channel is fully onboarded and configured to handle traffic.
setting_up
The channel is in the final stages of the onboarding or migration process.
error
The channel is in a non-operational state due to a configuration issue or failure that prevents it from being used, and it is not in the process of being set up.
Last updated
Was this helpful?