action attio_create_record { label: "Create a record" description: "Creates a new person, company or other record. This endpoint will throw on conflicts of unique attributes. If you would prefer to update records on conflicts, please use the [Upsert record endpoint](/rest-api/endpoint-reference/records/upsert-a-record) instead.\n\nRequired scopes: `record_permission:read-write`, `object_configuration:read`." provider: attio method: POST path: "/v2/objects/{object}/records" encoding: json scopes: ["record_permission:read-write", "object_configuration:read"] input: { type: "object" properties: { data: { type: "object" required: ["values"] properties: { values: { type: "object" description: "An object with an attribute `api_slug` or `attribute_id` as the key, and a single value (for single-select attributes), or an array of values (for single or multi-select attributes) as the values. For complete documentation on values for all attribute types, please see our [attribute type docs](/docs/attribute-types)." } } } object: { type: "string" description: "The UUID or slug identifying the object the created record should belong to." } } required: ["data", "object"] additionalProperties: false } output: { type: "object" description: "Success" required: ["data"] properties: { data: { type: "object" required: ["created_at", "id", "values", "web_url"] properties: { created_at: { type: "string" description: "When this record was created." } id: { type: "object" required: ["object_id", "record_id", "workspace_id"] properties: { object_id: { type: "string" format: "uuid" description: "A UUID identifying the object this record belongs to." } record_id: { type: "string" format: "uuid" description: "A UUID identifying this record." } workspace_id: { type: "string" format: "uuid" description: "A UUID identifying the workspace this record belongs to." } } } values: { type: "object" description: "A record type with an attribute `api_slug` as the key, and an array of value objects as the values." } web_url: { type: "string" format: "uri" description: "A URL that links directly to the record page in the Attio web application." } } } } } }