Create an organization profile
Módulo Identity
POST/organization-profilesorganizationProfiles.create
An organization's profile page. New organizations start Network. Creates an organization profile. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.
- Requiere la capacidad org.profile.write.
- Alcances de OAuth: org.
- Envía el encabezado Idempotency-Key. Una repetición con la misma clave devuelve la respuesta original.
- Estados de error: 400, 401, 409, 422, 429. Los errores son detalles de problema RFC 9457.
Cuerpo de la solicitud: OrganizationProfileCreate
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| organization_id | string (uuid) | Sí | Identifier of the organization. |
| about | string | null | No | About.Restricciones: length 1 to 20000 |
| visibility | ProfileVisibility | Sí | Profile visibility. Sections and fields may be set lower than the profile, never higher.Restricciones: one of "Public", "Network", "Private" |
| search_indexing | boolean | Sí | Whether search engines may index a public profile. |
{
"organization_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"about": "Live event production for waterfront venues.",
"visibility": "Private",
"search_indexing": false
}Respuesta 201: OrganizationProfile
| Campo | Tipo | Obligatorio | Descripción |
|---|---|---|---|
| id | string (uuid) | Sí | Identifier of the organization profile. |
| created_at | string (date-time) | Sí | When the row was created. |
| updated_at | string (date-time) | Sí | When the row was last updated. |
| organization_id | string (uuid) | Sí | Identifier of the organization. |
| about | string | null | Sí | About.Restricciones: length 1 to 20000 |
| visibility | ProfileVisibility | Sí | Profile visibility. Sections and fields may be set lower than the profile, never higher.Restricciones: one of "Public", "Network", "Private" |
| search_indexing | boolean | Sí | Whether search engines may index a public profile. |
| handle | string | Sí | Unique handle for /u/{handle} or /c/{handle}: 3 to 40 lowercase letters, digits and single hyphens. Changeable once every 30 days; the old handle redirects for 90 days.Restricciones: pattern ^[a-z0-9]([a-z0-9-]{1,38}[a-z0-9])$ |
| handle_changed_at | string (date-time) | null | Sí | When the handle last changed; null until the first change. Set by the database. |
| website_url | string (uri) | null | Sí | Website of the organization; https only. |
| contact_email | string (email) | null | Sí | Contact email of the organization, stored in lowercase. |
{
"id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"created_at": "2026-10-08T14:30:00Z",
"updated_at": "2026-10-08T14:30:00Z",
"organization_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"about": "Live event production for waterfront venues.",
"visibility": "Private",
"search_indexing": false,
"handle": "northwind-live",
"handle_changed_at": "2026-10-08T14:30:00Z",
"website_url": "https://northwindlive.example/files/site-plan.pdf",
"contact_email": "alex.rivera@northwindlive.example"
}Ejemplos de código
curl -X POST "$XOS_BASE_URL/organization-profiles" \
-H "Authorization: Bearer $XOS_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"organization_id":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f","about":"Live event production for waterfront venues.","visibility":"Private","search_indexing":false}'const { data } = await xos.organizationProfiles.create({
"organization_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
"about": "Live event production for waterfront venues.",
"visibility": "Private",
"search_indexing": false
});response = xos.organization_profiles.create({"organization_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f", "about": "Live event production for waterfront venues.", "visibility": "Private", "search_indexing": False})xos organization-profiles create --data '{"organization_id":"0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f","about":"Live event production for waterfront venues.","visibility":"Private","search_indexing":false}'