Account

Properties description

Property
Type
Description

id

Integer

Account unique identification.

name

String

Account name defined by user during creation

owner_account_id

Integer

Id of the owner account or parent account generally used for agency customer campaigns.

created_at

Datetime

Creation date of the account, GMT timezone

updated_at

Datetime

Last update of the account, GMT timezone

deleted_at

Datetime

Field used for softdeleting the account. This property is null for active account.

Search accounts

Search accounts

GET https://api.smartxsp.io/accounts

Allows you to retrieve the list of accounts associated to the connected user. ⚠️ Please note that the list is limited to the last 1000 accounts.

Query Parameters

Name
Type
Description

search

String

Search string filtering on account name.

Headers

Name
Type
Description

Authorization*

String

The Bearer token you get during login process.

Get account

Get account details

GET https://api.smartxsp.io/accounts/{account_id}

Retrieves account details.

Path Parameters

Name
Type
Description

account_id*

String

The numeric id of the campaign

Headers

Name
Type
Description

Authorization*

String

The Bearer token you get during login process.

Create account

Create a new account

POST https://api.smartxsp.io/accounts

Create a new account.

Query Parameters

Name
Type
Description

name*

String

The account name

Headers

Name
Type
Description

Authorization*

String

The Bearer token you get during login process.

Last updated