# AI Studios - Creator Profiles POST /api/v1/aistudios/creator-profiles/ Content-Type: application/json **POST:** Get comprehensive creator profiles for a specific publication/studio. Returns detailed profile information for both the publication owner (creator) and all co-creators with complete user details. Requires a publication URL in the POST body to filter profiles by publication. Includes all profile fields: personal info, social links, skills, focus areas, and more. Reference: https://docs.aisquare.studio/api-reference/ai-square-studio-api/aistudios/creator-profiles-create ## OpenAPI Specification ```yaml openapi: 3.1.0 info: title: AISquare Studio API version: 1.0.0 paths: /api/v1/aistudios/creator-profiles/: post: operationId: creator-profiles-create summary: AI Studios - Creator Profiles description: >- **POST:** Get comprehensive creator profiles for a specific publication/studio. Returns detailed profile information for both the publication owner (creator) and all co-creators with complete user details. Requires a publication URL in the POST body to filter profiles by publication. Includes all profile fields: personal info, social links, skills, focus areas, and more. tags: - subpackage_aistudios responses: '200': description: Successfully retrieved creator profiles content: application/json: schema: $ref: '#/components/schemas/CreatorProfileResponse' '400': description: Invalid publication URL or missing url content: application/json: schema: description: Any type '404': description: Publication not found content: application/json: schema: description: Any type requestBody: content: application/json: schema: type: object properties: url: type: string description: Publication custom URL to get creator profiles for required: - url components: schemas: CreatorProfile: type: object properties: id: type: integer username: type: string description: >- Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. email: type: string format: email full_name: type: string is_verified: type: boolean followers_count: type: integer profile_picture: type: - string - 'null' format: uri bio: type: - string - 'null' country: type: - string - 'null' linkedin_url: type: - string - 'null' format: uri github_url: type: - string - 'null' format: uri twitter_url: type: - string - 'null' format: uri facebook_url: type: - string - 'null' format: uri website_url: type: - string - 'null' format: uri portfolio_url: type: - string - 'null' format: uri skills: type: array items: type: string focus_area: type: array items: type: string creator_cal_username: type: string required: - id - username - email - full_name - is_verified - followers_count - profile_picture - bio - country - linkedin_url - github_url - twitter_url - facebook_url - website_url - portfolio_url - skills - focus_area - creator_cal_username description: |- Comprehensive creator profile serializer with all required fields. Serializes IAMUserDetail but includes IAMUser fields via source paths. This approach is more efficient as it uses direct field access. title: CreatorProfile CreatorProfileCoCreator: type: object properties: id: type: integer username: type: string description: >- Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. email: type: string format: email full_name: type: string is_verified: type: boolean followers_count: type: integer profile_picture: type: - string - 'null' format: uri bio: type: - string - 'null' country: type: - string - 'null' linkedin_url: type: - string - 'null' format: uri github_url: type: - string - 'null' format: uri twitter_url: type: - string - 'null' format: uri facebook_url: type: - string - 'null' format: uri website_url: type: - string - 'null' format: uri portfolio_url: type: - string - 'null' format: uri skills: type: array items: type: string focus_area: type: array items: type: string creator_cal_username: type: string role: type: string status: type: string required: - id - username - email - full_name - is_verified - followers_count - profile_picture - bio - country - linkedin_url - github_url - twitter_url - facebook_url - website_url - portfolio_url - skills - focus_area - creator_cal_username - role - status description: >- Extended creator profile serializer that includes co-creator role and status. Inherits all profile fields from CreatorProfileSerializer. Gets role and status from serializer context. title: CreatorProfileCoCreator CreatorProfileResponse: type: object properties: publication: type: object additionalProperties: description: Any type creator: $ref: '#/components/schemas/CreatorProfile' co_creators: type: array items: $ref: '#/components/schemas/CreatorProfileCoCreator' required: - publication - creator - co_creators description: |- Main response serializer for creator profiles endpoint. Returns structured data with publication info, creator, and co-creators. title: CreatorProfileResponse ``` ## SDK Code Examples ```python Creator Profiles Response import requests url = "https://api.example.com/api/v1/aistudios/creator-profiles/" headers = {"Content-Type": "application/json"} response = requests.post(url, headers=headers) print(response.json()) ``` ```javascript Creator Profiles Response const url = 'https://api.example.com/api/v1/aistudios/creator-profiles/'; const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: undefined}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Creator Profiles Response package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.example.com/api/v1/aistudios/creator-profiles/" req, _ := http.NewRequest("POST", url, nil) req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Creator Profiles Response require 'uri' require 'net/http' url = URI("https://api.example.com/api/v1/aistudios/creator-profiles/") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["Content-Type"] = 'application/json' response = http.request(request) puts response.read_body ``` ```java Creator Profiles Response import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.post("https://api.example.com/api/v1/aistudios/creator-profiles/") .header("Content-Type", "application/json") .asString(); ``` ```php Creator Profiles Response request('POST', 'https://api.example.com/api/v1/aistudios/creator-profiles/', [ 'headers' => [ 'Content-Type' => 'application/json', ], ]); echo $response->getBody(); ``` ```csharp Creator Profiles Response using RestSharp; var client = new RestClient("https://api.example.com/api/v1/aistudios/creator-profiles/"); var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); IRestResponse response = client.Execute(request); ``` ```swift Creator Profiles Response import Foundation let headers = ["Content-Type": "application/json"] let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/v1/aistudios/creator-profiles/")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "POST" request.allHTTPHeaderFields = headers let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ``` ```python Creator Profiles Request import requests url = "https://api.example.com/api/v1/aistudios/creator-profiles/" payload = { "url": "ai-research-studio" } headers = {"Content-Type": "application/json"} response = requests.post(url, json=payload, headers=headers) print(response.json()) ``` ```javascript Creator Profiles Request const url = 'https://api.example.com/api/v1/aistudios/creator-profiles/'; const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"url":"ai-research-studio"}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Creator Profiles Request package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://api.example.com/api/v1/aistudios/creator-profiles/" payload := strings.NewReader("{\n \"url\": \"ai-research-studio\"\n}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Creator Profiles Request require 'uri' require 'net/http' url = URI("https://api.example.com/api/v1/aistudios/creator-profiles/") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["Content-Type"] = 'application/json' request.body = "{\n \"url\": \"ai-research-studio\"\n}" response = http.request(request) puts response.read_body ``` ```java Creator Profiles Request import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.post("https://api.example.com/api/v1/aistudios/creator-profiles/") .header("Content-Type", "application/json") .body("{\n \"url\": \"ai-research-studio\"\n}") .asString(); ``` ```php Creator Profiles Request request('POST', 'https://api.example.com/api/v1/aistudios/creator-profiles/', [ 'body' => '{ "url": "ai-research-studio" }', 'headers' => [ 'Content-Type' => 'application/json', ], ]); echo $response->getBody(); ``` ```csharp Creator Profiles Request using RestSharp; var client = new RestClient("https://api.example.com/api/v1/aistudios/creator-profiles/"); var request = new RestRequest(Method.POST); request.AddHeader("Content-Type", "application/json"); request.AddParameter("application/json", "{\n \"url\": \"ai-research-studio\"\n}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift Creator Profiles Request import Foundation let headers = ["Content-Type": "application/json"] let parameters = ["url": "ai-research-studio"] as [String : Any] let postData = JSONSerialization.data(withJSONObject: parameters, options: []) let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/v1/aistudios/creator-profiles/")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "POST" request.allHTTPHeaderFields = headers request.httpBody = postData as Data let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```