The OnlyWire API allows you to programatically submit content to 47 social media sites. The API uses HTTP authentication that can be implemented in any programming language. PHP code is provided as a reference below. Please remember that to deliver the submissions, you need to install the OnlyWire Submitter™ application and have it running on at least one computer.
Bookmark Submission URL:
http://onlywire.com/api/add
Status Submission URL:
http://onlywire.com/api/status
Service List Request URL:
http://onlywire.com/api/services
Submission Status List Request URL:
http://onlywire.com/api/submissions
Bookmark Submission Arguments:
&url - (required) the URL of the item.
&title - (required) the title of the item.
&type - (optional) json
&shortener - (optional) 0 or 1 (0=Don't shorten, 1=Use OnlyWire's shortener. 0 is default).
&category - (optional) numeric code** representing the category of the item, used by some services.
&comments - (optional) notes/comments for the item.
&tags - (optional) tags for the item (space delimited).
&private - (optional) true or false (false is the default).
&services - (optional) by default submits to all services user is registered for.
- The services are comma delimited based on the names below.
&scheduledtime - (optional) 12 hr clock-[mm/dd/yyyy hh.mm am/pm T] or 24 hr clock-[mm/dd/yyyy hh.mm T]
- where T is Timezone abbreviation (Eg. EST, MDT ...).
- by default takes current server time.
Status (i.e. "Tweet") Submission Arguments:
&status - (required) the title of the item.
&type - (optional) json
&services - (optional) by default submits to all services user is registered for.
- The services are comma delimited based on the names below.
Services List Arguments:
&type - (optional) json
No additional arguments are required. This API returns a list of all available services for the provided user.
Submission Status List Arguments:
&limit - (optional) number of latest submissions (max allowed: 50, by default returns 1 record)
No additional arguments are required. This API returns a list of user submissions with title, url and status indicating success or failure accompanied by error message if any.
** Category Codes:
0 - Business
1 - Entertainment
2 - Lifestyle
3 - Offbeat/Fun
4 - Science
5 - Sports
6 - Technology















































Submit bookmarks to all your services:
Submit bookmarks to certain specific services with private settings (if available):
Submit status to all your services:
Submit status to certain specific services:
Example Response
If the post was successful:
If the post failed:
For service list request:
For submission status list request:
Sample Code (PHP): The below sample code shows you how to authenticate and post to the OnlyWire API: