Get WordPress Accounts

Purpose 

To retrieve the list of WordPress accounts that are linked with Writer. 

HTTP Request URL

https://{zohoapis_domain}/writer/api/v1/apps/blog/wordpress/accounts

 

Sample Request

Copiedcurl "https://www.zohoapis.com/writer/api/v1/apps/blog/wordpress/accounts"
-X GET
-H "Authorization: Zoho-oauthtoken xyz"

Sample Response

Copied{
  "accounts": [
    {
      "email_id": "zylker@gmail.com",
      "account_id": "22222222",
      "avatar_url": "https://0.zylker.com/avatar/f3594b5690ddeb7e54aa12bc4f46909e?s=96&d=identicon&r=G",
      "site_url": "http://zylkerwordpress.com",
      "site_id": "12222233",
      "display_name": "zylker1"
    }
  ]
}