Create
Create a Analytics Import using Google Search Console or Botify depending on the Account configuration.
application/json
Request Body required
urls string[]
An array of URLs.
Responses
- 201
- 401
Success
application/x-ndjson
Schema
Example (from schema)
Schema
- Array [
- ]
property name* string
[
{}
]
Authentication Failure
POST /analytics-imports
Authorization
name: Authorizationtype: apiKeydescription: `Key {your key}`in: header
Request
Request
curl / cURL
curl -L -X POST 'https://api.wordlift.io/analytics-imports' \
-H 'Content-Type: application/json' \
-H 'Accept: application/x-ndjson' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"urls": [
"string"
]
}'
python / requests
curl -L -X POST 'https://api.wordlift.io/analytics-imports' \
-H 'Content-Type: application/json' \
-H 'Accept: application/x-ndjson' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"urls": [
"string"
]
}'
nodejs / axios
curl -L -X POST 'https://api.wordlift.io/analytics-imports' \
-H 'Content-Type: application/json' \
-H 'Accept: application/x-ndjson' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"urls": [
"string"
]
}'
php / cURL
curl -L -X POST 'https://api.wordlift.io/analytics-imports' \
-H 'Content-Type: application/json' \
-H 'Accept: application/x-ndjson' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"urls": [
"string"
]
}'