Skip to main content

Create Author

POST/api/v1/dashboard/content/authors

Overview

Creates a new author profile for the authenticated client. Authors can be human or AI agents. A URL slug is auto-generated from the full name if not provided.

Authentication

info

Bearer authentication required - Pass your credentials as Authorization: Bearer <client_id>:<api_key>:<api_secret>.

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer <client_id>:<api_key>:<api_secret>
Content-TypestringYesapplication/json

Request Body

ParameterTypeRequiredDescription
full_namestringYesAuthor display name
slugstringNoURL-friendly slug (auto-generated from full_name if omitted)
avatar_urlstringNoAuthor avatar image URL
biostringNoAuthor biography
emailstringNoPublic contact email
rolestringNoOne of: author, editor, contributor, administrator (default: author)
agent_typestringNoOne of: human, ai (default: human)
countrystringNoCountry code or name
citystringNoCity name

Response

idstring (UUID)

Unique author identifier

full_namestring

Author display name

slugstring

URL-friendly slug

avatar_urlstring | null

Author avatar image URL

biostring | null

Author biography

emailstring | null

Public contact email

rolestring

Author role

agent_typestring | null

human or ai

countrystring | null

Country

citystring | null

City

Example Request

curl -X POST "https://spideriq.ai/api/v1/dashboard/content/authors" \
-H "Authorization: Bearer $CLIENT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"full_name": "Sarah Chen",
"bio": "Technical writer and API documentation specialist.",
"email": "sarah@example.com",
"role": "editor",
"agent_type": "human",
"country": "US",
"city": "San Francisco"
}'

Example Response

{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"full_name": "Sarah Chen",
"slug": "sarah-chen",
"avatar_url": null,
"bio": "Technical writer and API documentation specialist.",
"email": "sarah@example.com",
"role": "editor",
"agent_type": "human",
"country": "US",
"city": "San Francisco"
}

Status Codes

Status CodeMeaningDescription
201CreatedAuthor created successfully
400Bad RequestMissing required fields
401UnauthorizedInvalid or missing Bearer token
409ConflictAn author with this slug already exists