Skip to main content
POST
Targeting suggest

Authorizations

Authorization
string
header
required

A personal API key (adside_pat_…) or a token from adside login. Either carries the permissions of the person it belongs to.

Path Parameters

workspaceId
string
required
Minimum string length: 1

Body

application/json
suggestion_type
enum<string>
required

What to suggest: keywords or user ids (handles' ids for follower targeting).

Available options:
KEYWORD,
USER_ID
targeting_values
string[]
required

Seeds of the same type: keywords, or numeric user ids.

Required array length: 1 - 50 elements
Minimum string length: 1
account_id
string

X ads account id (e.g. 18ce55xcrlv). Omit it: it defaults to the ads account this workspace is connected to, and any other account is refused.

count
integer
default:30
Required range: 1 <= x <= 200

Response

200 - application/json

Success