createPost
Create posts for Brilliant Directories websites by specifying user, content type, title, caption, HTML content, status, and price.
Instructions
Create a post
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| data_id | Yes | Post type category ID | |
| data_type | Yes | Data type ID (integer). Foreign-key reference to the data_types resource — the numeric data_id of a row returned by GET /api/v2/data_types/get.\nThere is NO fixed enum for this field. Every BD site has its own configured data types (e.g. "Single Photo Post", "Multi-Photo Post", "Video Post", "Document Post"). Valid IDs are per-site.\nAgent workflow: call listDataTypes first to discover the site's configured types, match the user's phrasing to a category_name, then pass that row's data_id as the data_type parameter. Never guess a numeric ID. | |
| post_title | No | ||
| post_caption | No | ||
| post_content | No | HTML allowed | |
| post_status | No | 0=Draft, 1=Published | |
| post_price | No |