1. API reference
  2. Records
  3. Set the assignees of up to 500 records.
  • API reference
  • GETIdentify the calling credential.
  • GETList the webhook events you can subscribe to.
  • GETList the webhook subscriptions this credential owns.
  • POSTSubscribe an HTTPS endpoint to record events on one object.
  • GETGet one webhook subscription by slug.
  • DELETEDelete a webhook subscription.
  • GETList the field types you can create.
  • GETList the file formats a file field can accept.
  • GETList the active tag fields of all objects, one page at a time.
  • GETList every field in the workspace, one page at a time.
  • GETList the fields of an object, one page at a time.
  • POSTAdd a field to an object.
  • GETList all fields an object owns, active and inactive.
  • GETList the active fields of an object, relations included.
  • GETList the select, status and priority fields of an object.
  • GETList the fields that can make another field required.
  • GETGet one field by slug.
  • POSTCopy fields of an object into other objects.
  • POSTAdd one choice to a choice field.
  • PUTChange the order of an object's fields.
  • PUTUpdate a field's settings.
  • DELETEDelete a field and its values.
  • PUTTurn a field on or off on an object.
  • GETList the workspace tags.
  • POSTAdd a tag to the workspace list.
  • PUTReorder the workspace tags.
  • POSTAdd a tag from a record of one object.
  • GETGet one tag with its usage.
  • DELETEDelete a tag, or retire it when records still hold it.
  • PATCHRename or recolor a tag.
  • GETList which optional record features this deployment has turned on.
  • GETList objects, one page at a time.
  • POSTCreate an object.
  • GETList the active objects the credential can read.
  • GETCount records and saved views for each active object.
  • GETGet workspace totals for records, saved views and objects.
  • GETList the duplicate-detection rule of every object.
  • GETCheck whether an object name is free to use.
  • GETGet one object by slug.
  • PUTUpdate an object's name, description, icon, status or folder.
  • DELETEDelete an object and all of its records.
  • GETList the other active objects, for picking a relation target.
  • GETList the active fields of an object.
  • GETGet the duplicate-detection rule of an object.
  • PUTSet the duplicate-detection rule of an object.
  • PUTChange the display order of objects.
  • PUTTurn an object on or off.
  • PUTTurn an object's public form on or off.
  • GETList records as slug and name pairs, for pickers.
  • GETList an object's records, with filters and sorting.
  • POSTCreate a record.
  • POSTSearch an object's records by free text.
  • GETList the records you can link through every relation of an object.
  • GETList the records you can link through one relation field.
  • GETList the records that share a value in one field.
  • GETList the values of dependent filter fields.
  • GETList the records linked to one record through one relation.
  • POSTList the distinct values stored in one field, most common first.
  • POSTGet badge counts for a set of records.
  • GETList the options a select-type field allows.
  • GETGet one record by slug, with its columns and change history.
  • PUTUpdate a record.
  • DELETEDelete a record.
  • GETList every change to one record, newest first.
  • GETList one page of a record's change history, with filters.
  • POSTDuplicate a record.
  • POSTCreate a record from a quick-add row in a table or board.
  • POSTUpdate, assign or delete many records in one call.
  • POSTDuplicate many records in one call.
  • POSTCancel a queued or running bulk job.
  • GETGet the report of a bulk job.
  • POSTDelete up to 500 records by slug.
  • POSTSet the assignees of up to 500 records.
  • PATCHReplace the assignees of a record.
  • PATCHMove a record between two others in manual board order.
  • POSTApply the same change to up to 500 records.
  • DELETEDelete all records of an object.
  • GETGet a short-lived URL for one stored file.
  • GETDownload one stored file.
  • POSTGet short-lived URLs for up to 100 stored files in one call.
POST/api/v1/object/data/{objectSlug}/bulk-assign

Set the assignees of up to 500 records.

Set the assignees of up to 500 records.

assignees is the full assignee list for every record in slugs: it replaces the current list, and [] removes everyone. A record keeps its owner when the owner is still in the list; otherwise the first slug becomes the owner. admin_slug is the older single-owner form, equal to assignees: [admin_slug]. Send one of the two; sending neither removes all assignees. Slugs that match no record are skipped; updatedCount says how many records were found and assigned. A record takes at most 20 assignees.

Scope: assign.<object slug>, for example assign.contacts.

Errors:

  • 400 — both admin_slug and assignees are sent, or no active object has that slug.
  • 403 — the credential may not edit one of the records.
  • 422 — more than 20 assignees (code: TOO_MANY_ASSIGNEES), an assignee is not a user of this workspace (code: INVALID_ASSIGNEE), or the body is invalid, for example more than 500 slugs.

Request:

{
  "slugs": ["9f2c4b7a1e03", "c83e1a5f2d97"],
  "assignees": ["a3f1b2c8e9d7", "e6d2b9f41c08"]
}

Response 200:

{
  "status": 200,
  "message": "Bulk assign completed",
  "data": { "updatedCount": 2 }
}

Send request

Use the documented inputs to call this endpoint directly.

API serverbase URL
Bearer tokenbearerAuthoptional
Stored only in this browser for the bearerAuth security scheme and reused on every API page in this group.

Parameters

Values are applied to the request and the example on the right.

objectSlugpath · stringrequired

Request body

application/jsonrequired
slugsstringrequired
admin_slugobjectoptional

Single-owner form kept for existing clients: equivalent to assignees: [admin_slug]. Mutually exclusive with {@link assignees}.

assigneesobjectoptional

The desired FULL assignee set for every selected record (set-replace, same semantics as PATCH …/:recordSlug/assignees). First slug becomes the primary owner; [] unassigns everyone.

Responses

200application/json

Successful response

{
  "message": "string",
  "data": "string"
}
messagestringrequired
dataobjectrequired
400application/json

Bad request

{
  "status": 1,
  "message": "string",
  "code": "string",
  "data": {}
}
statusintegerrequired

The HTTP status code of the response.

messagestringrequired

What went wrong. Several validation messages are joined with ", ".

codestringoptional

A stable, machine-readable reason. Only some errors set it.

dataobjectoptional

Extra detail about the error. Only some errors set it.

401application/json

Unauthorized

{
  "status": 1,
  "message": "string",
  "code": "string",
  "data": {}
}
statusintegerrequired

The HTTP status code of the response.

messagestringrequired

What went wrong. Several validation messages are joined with ", ".

codestringoptional

A stable, machine-readable reason. Only some errors set it.

dataobjectoptional

Extra detail about the error. Only some errors set it.

500application/json

Internal server error

{
  "status": 1,
  "message": "string",
  "code": "string",
  "data": {}
}
statusintegerrequired

The HTTP status code of the response.

messagestringrequired

What went wrong. Several validation messages are joined with ", ".

codestringoptional

A stable, machine-readable reason. Only some errors set it.

dataobjectoptional

Extra detail about the error. Only some errors set it.

Delete up to 500 records by slug.< PreviousReplace the assignees of a record.Next >

Powered by heyo-docs

curl --request POST \  'https://corteksa.info/api/v1/object/data/string/bulk-assign' \  --header 'Content-Type: application/json' \  --data '{  "slugs": "string",  "admin_slug": "string",  "assignees": "string"}'
{
  "message": "string",
  "data": "string"
}