# Create Records Using sObject Basic Information

Creates a new record for a specified object based on field values in the request body.

You must specify values for required fields in the request body. Specifying values for other fields is optional.

## Syntax

**URI:** `/services/data/vXX.X/sobjects/sObject/`

**Formats:** JSON, XML

**HTTP Method:** POST

**Authentication:** `Authorization: Bearer token`

**Parameters**

| Parameter      | Description                                                                                                                                                       |
| -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Content-Type` | An optional header, specifying the format for the request and response. Possible choices are `Content-Type: application/json` or `Content-Type: application/xml`. |
| `sObject`      | The name of the object. For example, `Account`. A required path parameter.                                                                                        |

## Example

- For an example of creating a new record using POST, see [Create a Record](/docs/platform/api-rest/guide/dome-sobject-create.md).
- For an example of create a new record along with providing blob data for the record, see [Insert or Update Blob Data](/docs/platform/api-rest/guide/dome-sobject-insert-update-blob.md).

**See Also**

- [Object Reference for the Salesforce Platform](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/)
