Management

Requests to this endpoint are free and do not consume any API units.

post/management/projects

Request

  • Base URL
    https://api.ahrefs.com/v3
  • URL
    https://api.ahrefs.com/v3/management/projects
  • Auth
    HTTP bearer

Query parameters

output'json' | 'php'

The output format.

Request body

access'private' | 'shared'

The access type of the project.

owned_bystring

The email of the project owner. If not provided, the project is assigned to the API key's owner.

project_namestring required

The name of the project.

mode'exact' | 'prefix' | 'domain' | 'subdomains' required

The scope of the target.

urlstring url required

The URL of your target.

protocol'both' | 'http' | 'https' required

The protocol of your target.

folder_idinteger

The folder id to assign to the project. You can find the id of a folder in https://app.ahrefs.com/dashboard/folders/#folder_id#.

Response

OK

Changes

    • breaking

      removed the enum value csv from the query request parameter output

    • breaking

      removed the enum value xml from the query request parameter output