With this endpoint, you can retrieve the current status of a keyword import task using the provided import ID, with information on the number of keywords imported so far and the number remaining.
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Query Params
campaign_id
integer
required
(Required) The ID of the campaign to which you want to add/import keywords. Please refer to the Quick Start Guide to learn how to retrieve the IDs of your campaigns.
Example:
{{campaign_id}}
import_id
integer
required
(Required) The import ID of the task.Please refer to the Add New Keywords endpoint in our API to retrieve the 'import_id'.
Example:
{{import_id}}
Header Params
Accept
string
required
Example:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'https://apigw.seomonitor.com/v3/rank-tracker/v3.0/keywords/import-status?campaign_id={{campaign_id}}&import_id={{import_id}}' \
--header'Accept: application/json' \
--header'Authorization;'
Responses
🟢200Success
application/json
Body
date_start
string
optional
The timestamp when the import task was started.
date_done
string
optional
The timestamp when the import task was completed. It returns 'N/A' if the task is still in progress.
imported
integer
optional
The number of keywords that have been successfully imported so far.
processing
integer
optional
The number of keywords still being processed and imported.