Project creation

Method ProjectProcedure.createProject allows to create a new project without using Serpstat's interface.

Request parameters
Parameter Description Type Optional Default value Value options
id A request id: the response contains the same id. int / str no Text or number value.
For example: 1, test
method API method name string no ProjectProcedure.createProject
params The object with parameters {...}, it lists all the following parameters and arrays [...]
no
domain Name of the domain string no String value in format domain.com (for example: test.com, domain.com)
name Name of the project you create string no Text value.
For example: test, my project 
groups Group for the new project array yes Choose existing group or create new. (for example "name": "test") 
name Name of the group, should be inside of the "groups" array. string yes Default group Text value.
For example: test, my group

Response parameters
Parameters Description
id

Response id corresponds the request id

result Contains the answer
project_id Your created project's ID

 API credits are not required. Method requires 1 project credit.

Example
Request data:
{
    "id": 1,
    "method": "ProjectProcedure.createProject",
    "params": {
        "domain": "test.com",
        "name": "test.com",
        "groups": [
            {
                "name": "test"
            }
        ]
    }
}
Response data:
{
    "id": "1",
    "result": {
        "project_id": "1051615"
    }
}

Поделитесь статьей с вашими друзьями

Are you sure?

Персональная презентация сервиса

Serpstat is all about saving time, and we want to save yours! One of our specialists will contact you and discuss options going forward.

These may include a personal demonstration, a trial period, comprehensive training articles & webinar recordings, and custom advice from a Serpstat specialist. It is our goal to make you feel comfortable while using Serpstat.

Name

Email

Phone

We are glad of your comment
Política de privacidad.

Спасибо, мы с вами свяжемся в ближайшее время

Open support chat