Objects
Create an object
Introduction
How-to guides
Endpoint reference
- Core endpoints
- Objects
- Attributes
- Records
- Lists
- Entries
- Workspace members
- Notes
- Tasks
- Threads
- Comments
- Webhooks
- Meta
- Standard objects
- OAuth 2.0
Objects
Create an object
Creates a new custom object in your workspace.
Required scopes: object_configuration:read-write
.
POST
/
v2
/
objects
curl --request POST \
--url https://api.attio.com/v2/objects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"api_slug": "people",
"singular_noun": "Person",
"plural_noun": "People"
}
}'
{
"data": {
"id": {
"workspace_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"object_id": "97052eb9-e65e-443f-a297-f2d9a4a7f795"
},
"api_slug": "people",
"singular_noun": "Person",
"plural_noun": "People",
"created_at": "2022-11-21T13:22:49.061281000Z"
}
}
Authorizations
This API uses OAuth 2.0 with the authorization code grant flow.
Body
application/json
A unique, human-readable slug to access the object through URLs and API calls. Should be formatted in snake case.
Example:
"people"
The singular form of the object's name.
Minimum length:
1
Example:
"Person"
The plural form of the object's name.
Minimum length:
1
Example:
"People"
Response
200
application/json
Success
A unique, human-readable slug to access the object through URLs and API calls. Formatted in snake case.
Example:
"people"
The singular form of the object's name.
Example:
"Person"
The plural form of the object's name.
Example:
"People"
When the object was created.
Example:
"2022-11-21T13:22:49.061281000Z"
Was this page helpful?
curl --request POST \
--url https://api.attio.com/v2/objects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"api_slug": "people",
"singular_noun": "Person",
"plural_noun": "People"
}
}'
{
"data": {
"id": {
"workspace_id": "14beef7a-99f7-4534-a87e-70b564330a4c",
"object_id": "97052eb9-e65e-443f-a297-f2d9a4a7f795"
},
"api_slug": "people",
"singular_noun": "Person",
"plural_noun": "People",
"created_at": "2022-11-21T13:22:49.061281000Z"
}
}