WhatsApp Business API
  1. Application
WhatsApp Business API
  • 默认分类
    • Delete-Profile-Photo
      DELETE
  • Registration
    • Request-Code
      POST
    • Register-Account
      POST
  • Application
    • Set-Shards
      POST
    • Reset-Application-Settings
      DELETE
    • Get-Application-Settings
      GET
    • Update-Application-Settings
      PATCH
    • Get-Media-Providers
      GET
    • Update-Media-Providers
      POST
    • Delete-Media-Providers
      DELETE
  • Certificates
    • Upload-Certificate
      POST
    • Download-CA-Certificate
      GET
    • Delete Webhook CA Certificate
      DELETE
    • Download Webhook CA Certificate
      GET
    • Upload Webhook CA Certificate
      POST
  • Contacts
    • Check-Contact
      POST
  • Groups
    • Get-All-Groups
      GET
    • Create-Group
      POST
    • Get-Group-Info
      GET
    • Update-Group-Info
      PUT
    • Demote-Group-Admin
      DELETE
    • Promote-To-Group-Admin
      PATCH
    • Delete-Group-Icon
      DELETE
    • Get-Group-Icon-Binary
      GET
    • Set-Group-Icon
      POST
    • Delete-Group-Invite
      DELETE
    • Get-Group-Invite
      GET
    • Leave-Group
      POST
    • Remove-Group-Participant
      DELETE
  • Health
    • Check-Health
    • Get-Metrics (since v2.21.3)
    • Get-App-Stats
    • Get-DB-Stats
    • Get-Support-Info
  • Media
    • Upload-Media
    • Delete-Media
    • Download-Media
  • Messages
    • Send-Message
    • Mark-Message-As-Read
  • Two-Step Verification
    • Disable-Two-Step
    • Enable-Two-Step
  • Backup/Restore
    • Backup-Settings
    • Restore-Settings
  • Business Profile
    • Get-Business-Profile
    • Update-Business-Profile
  • Backup
    • Restore
  • Profile
    • Get-Profile-About
    • Update-Profile-About
    • Get-Profile-Photo
    • Update-Profile-Photo
  • Users
    • Create-User
    • Login-User
    • Logout-User
    • Delete-User
    • Get-User
    • Update-User
  1. Application

Update-Media-Providers

POST
/settings/application/media/providers
Application
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http:///settings/application/media/providers' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "config": {
            "bearer": "<Bearer Auth Token>"
        },
        "name": "<Provider Name>",
        "type": "www"
    }
]'
响应示例响应示例
{}

请求参数

Body 参数application/json
array of:
config
Config
可选
One of
示例值:
{"bearer":"<Bearer Auth Token>"}
bearer
string 
必需
name
string 
可选
The name for the provider
type
string 
可选
The type of provider
示例

返回响应

🟢200成功
application/json
Body
object {0}
上一页
Get-Media-Providers
下一页
Delete-Media-Providers
Built with