Resource

Save Entity

Beta
POST

This endpoint is in beta and is subject to change. It is provided for early access and testing purposes only.
Save an entity to a project.

Request

This endpoint expects an object.
type
enumRequired
Allowed values: entity
project
stringRequired
The project identifier.
entity_id
stringRequired
The entity identifier.

Response

This endpoint returns an object
data
object
POST
1curl -X POST https://api.sayari.com/v1/resource/entity \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "type": "entity",
6 "project": "GNJbkG",
7 "entity_id": "Zk0qOaM2SSYg_ZhsljykMQ"
8}'
200
Successful
1{
2 "data": {
3 "type": "entity",
4 "id": "Ywk6qw",
5 "project": "GNJbkG",
6 "label": "HOME DEPOT, U. S. A., INC.",
7 "created": "2024-03-12 16:12:38.528362+00",
8 "updated": "2024-03-12 16:12:38.528362+00",
9 "updated_by": "auth0|5e45bd8caccd890e68147513",
10 "version": 0,
11 "entity_id": "n9SA4T_33tDmLtS8BhC6Zg",
12 "tag_ids": [],
13 "case_status": "not_assigned"
14 }
15}