crm-v1-organizations
Criar empresa
Criar empresa
post/organizations
Request
- Base URLhttps://crm.rdstation.com/api/v1
- URLhttps://crm.rdstation.com/api/v1/organizations
- AuthAPI key in query parameter token
Request body
Example request
{
"organization": {
"name": "Empresa 03",
"organization_custom_fields": [
{
"custom_field_id": "62684cbc6caff8000c8b6b00",
"value": "48484848"
}
],
"organization_segments": [
"NOME_DO_SEGMENTO1"
],
"resume": "resumo da empresa",
"url": "http://google.com/",
"user_id": "6268453dc9315700177a7767"
}
}Response
Success
Example response
{
"_id": "63f7c1581381ad0024e4cd9b",
"created_at": "2023-02-23T16:41:12.509-03:00",
"name": "Empresa 03",
"organization_custom_fields": [
{
"_id": "63f7c1581381ad0024e4cd9c",
"custom_field_id": "62684cbc6caff8000c8b6b00",
"value": "48484848"
}
],
"organization_segments": [
{
"_id": "63f7bae56f4fc7000c9be516",
"created_at": "2023-02-23T16:13:41.725-03:00",
"instance_id": "6268453dc9315700177a7765",
"name": "NOME_DO_SEGMENTO1",
"organization_ids": [
"63f7bae56f4fc7000c9be513"
],
"updated_at": "2023-02-23T16:41:12.543-03:00"
}
],
"resume": "resumo da empresa",
"updated_at": "2023-02-23T16:41:12.509-03:00",
"url": "http://google.com/",
"user": {
"_id": "ID",
"name": "NAME"
},
"user_id": "6268453dc9315700177a7767"
}Changes
No recorded changes to this operation across all 1 revision of this API.