@@ -124,7 +124,7 @@ The sections below provide more details on the available API endpoints for inter
124
124
125
125
### Get a Custom Object
126
126
127
- To retrieve a specific custom object, use the ` custom-objects.get ` endpoint:
127
+ To get a custom object, use the ` custom-objects.get ` endpoint:
128
128
129
129
```
130
130
curl --location 'https://api.devrev.ai/custom-objects.get' \
@@ -138,7 +138,7 @@ curl --location 'https://api.devrev.ai/custom-objects.get' \
138
138
139
139
### List Custom Objects
140
140
141
- To list custom objects based on specific criteria , use the ` custom-objects.list ` endpoint:
141
+ To list custom objects, use the ` custom-objects.list ` endpoint:
142
142
143
143
```
144
144
curl --location 'https://api.devrev.ai/custom-objects.list' \
@@ -157,7 +157,8 @@ curl --location 'https://api.devrev.ai/custom-objects.list' \
157
157
158
158
### Update a Custom Object
159
159
160
- To update an existing custom object, use the ` custom-objects.update ` endpoint. Here's an example of updating the budget of a campaign:
160
+ To update an existing custom object, use the ` custom-objects.update ` endpoint.
161
+ The following example updates the budget of the previously created campaign custom object:
161
162
162
163
```
163
164
curl --location 'https://api.devrev.ai/custom-objects.update' \
@@ -174,7 +175,8 @@ curl --location 'https://api.devrev.ai/custom-objects.update' \
174
175
175
176
### Delete a Custom Object
176
177
177
- To delete a custom object, use the ` custom-objects.delete ` endpoint:
178
+ To delete a custom object, use the ` custom-objects.delete ` endpoint.
179
+ The following example deletes the previously created campaign custom object:
178
180
179
181
```
180
182
curl --location 'https://api.devrev.ai/custom-objects.delete' \
@@ -193,10 +195,10 @@ curl --location 'https://api.devrev.ai/custom-objects.delete' \
193
195
3 . ** Custom Fields** : User-defined fields that store specific data for your custom object.
194
196
4 . ** Unique Key** : A unique identifier for each custom object, useful for maintaining idempotency.
195
197
196
- For more details on customization concepts, please refer to the [ Customization] ( ./customization.mdx ) documentation.
198
+ For more details on customization concepts, please refer to the [ Customization] ( ./object- customization ) documentation.
197
199
198
200
## Custom Object Lifecycle
199
201
200
- 1 . ** Creation** : Define the leaf type, subtype (optional), and custom fields for your object.
202
+ 1 . ** Creation** : Define the leaf type, subtype (optional), and custom fields for your custom object.
201
203
2 . ** Usage** : Create, update, and query custom objects as needed in your workflows.
202
- 3 . ** Management** : Modify the structure or delete custom objects as your needs evolve.
204
+ 3 . ** Management** : Modify the schema of the custom object as your needs evolve.
0 commit comments