/api/v1/object/data/{objectSlug}/{recordSlug}/duplicateDuplicate a record.
Duplicate a record.
No request body. Creates a new record in the same object with the source
record's values, links, files and assignees, and returns it in the same
shape as POST /object/data/{objectSlug}. The copy's name gets a copy
suffix. Computed values are recalculated, not copied. What could not be
copied, such as linked records the credential cannot see or files that
failed to copy, is listed in warnings.
Available only when GET /object/features reports
record_duplicate: true; otherwise 404.
Scope: create.<object slug>, for example create.contacts.
Errors:
403or404— the source record does not exist, or the credential cannot view it.400— the copy fails the same checks as a new record.
Response 201 (abridged):
{
"status": 201,
"message": "Record duplicated successfully",
"data": {
"title-mpoc3dn1": "Sara Ali (copy)",
"name": "Sara Ali (copy)",
"slug": "c83e1a5f2d97",
"random_id": "0f4a2c7e",
"relations": {},
"createdAt": "2026-09-14T10:05:00.000Z",
"updatedAt": "2026-09-14T10:05:00.000Z"
},
"warnings": [
{
"code": "RELATION_TARGETS_HIDDEN",
"message": "1 linked record(s) you cannot view were left out of the copy"
}
]
}
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Responses
Successful response
{
"warnings": "string",
"message": "string",
"data": "string"
}Bad request
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Unauthorized
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Internal server error
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Powered by heyo-docs