Skip to main content
POST
/
api
/
v2
/
network
/
advertisers
Create advertiser
curl --request POST \
  --url 'https://{domain}/api/v2/network/advertisers?api-key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "password": "string",
  "password_repeat": "string",
  "company_name": "string",
  "firstname": "string",
  "lastname": "string"
}
'
{
  "status": "success",
  "code": 200,
  "name": "OK",
  "message": "<string>",
  "info": {
    "advertiser": {}
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.scaleo.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

api-key
string
query
required

API key passed as query parameter. User must have api_status enabled.

Body

application/json
email
string<email>
required

Advertiser email (must be unique).

password
string

Login password (min 8 chars). Repeating consecutive characters are allowed.

password_repeat
string

Password confirmation (must match password).

company_name
string

Company name.

Maximum string length: 64
firstname
string
Maximum string length: 255
lastname
string
Maximum string length: 255
phone
string
Maximum string length: 64
website_url
string
Maximum string length: 255
status
integer

Status: 1=active, 2=disabled, 3=pending, 4=rejected.

country
integer

Country geoname_id. Auto-detected from IP if 0.

region
string
Maximum string length: 128
city
string
Maximum string length: 128
address
string
Maximum string length: 128
postal_code
string
Maximum string length: 16
timezone
string

IANA timezone (e.g. America/New_York). Defaults to platform timezone.

Maximum string length: 64
number_format_id
integer

Number format ID.

date_format_id
integer

Date format ID.

contacts
string

JSON string with contact information.

notes
string

Notes about the advertiser.

payment_details
string

Payment details (JSON string).

tags
string

Comma-separated tag labels.

managers
string

Manager ID or comma-separated IDs to assign.

custom_fields
object

Custom field values.

image_data
string

Base64-encoded image (data:image/png;base64,...).

external_id
string

External identifier.

Maximum string length: 64
send_welcome_email
enum<integer>

Send welcome email: 1=yes, 2=no.

Available options:
1,
2
send_verification_email
enum<integer>

Send verification email: 1=yes, 2=no.

Available options:
1,
2
ip
string

IP address (used for auto-detecting country/timezone).

Response

Created advertiser.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object