curl --location 'https://integrations.projectcor.com/v2/integrations/teams' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"id": "{{external_team_id}}",
"name": "Team test",
"description": "description",
"workspace_id": "{{workspace-external-id}}",
"metadata": {
"source": "GLOBANT"
}
}'
import requests
url = "https://integrations.projectcor.com/v2/integrations/teams"
payload = {
"id": "{{external_team_id}}",
"name": "Team test",
"description": "description",
"workspace_id": "{{workspace-external-id}}",
"metadata": {
"source": "GLOBANT"
}
}
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
const response = await fetch(
'https://integrations.projectcor.com/v2/integrations/teams',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
id: '{{external_team_id}}',
name: 'Team test',
description: 'description',
workspace_id: '{{workspace-external-id}}',
metadata: {
source: 'GLOBANT'
}
})
}
);
const data = await response.json();
console.log(data);
{
"id": 5001,
"name": "Team test",
"description": "description",
"workspace_id": 1234,
"company_id": 1234,
"created_at": "2025-01-10T14:30:00Z",
"updated_at": "2025-01-10T14:30:00Z"
}
{
"status": "ERROR",
"code": "ZC004",
"message": "Association already exists"
}
Teams
Create Team
Creates a new team in your COR instance with external ID mapping
POST
/
v2
/
integrations
/
teams
curl --location 'https://integrations.projectcor.com/v2/integrations/teams' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"id": "{{external_team_id}}",
"name": "Team test",
"description": "description",
"workspace_id": "{{workspace-external-id}}",
"metadata": {
"source": "GLOBANT"
}
}'
import requests
url = "https://integrations.projectcor.com/v2/integrations/teams"
payload = {
"id": "{{external_team_id}}",
"name": "Team test",
"description": "description",
"workspace_id": "{{workspace-external-id}}",
"metadata": {
"source": "GLOBANT"
}
}
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
const response = await fetch(
'https://integrations.projectcor.com/v2/integrations/teams',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
id: '{{external_team_id}}',
name: 'Team test',
description: 'description',
workspace_id: '{{workspace-external-id}}',
metadata: {
source: 'GLOBANT'
}
})
}
);
const data = await response.json();
console.log(data);
{
"id": 5001,
"name": "Team test",
"description": "description",
"workspace_id": 1234,
"company_id": 1234,
"created_at": "2025-01-10T14:30:00Z",
"updated_at": "2025-01-10T14:30:00Z"
}
{
"status": "ERROR",
"code": "ZC004",
"message": "Association already exists"
}
Creates a new team in your COR instance through the integrations service. Validates team name, ID, workspace ID, and metadata before creating.
Request Body Requirements
External team ID from your source system
Team name
External workspace ID that the team belongs to
Team description
Known Errors
ValidationError— Missing required fieldsZC004— Association already exists (team with this external ID already exists)
curl --location 'https://integrations.projectcor.com/v2/integrations/teams' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"id": "{{external_team_id}}",
"name": "Team test",
"description": "description",
"workspace_id": "{{workspace-external-id}}",
"metadata": {
"source": "GLOBANT"
}
}'
import requests
url = "https://integrations.projectcor.com/v2/integrations/teams"
payload = {
"id": "{{external_team_id}}",
"name": "Team test",
"description": "description",
"workspace_id": "{{workspace-external-id}}",
"metadata": {
"source": "GLOBANT"
}
}
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
const response = await fetch(
'https://integrations.projectcor.com/v2/integrations/teams',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
id: '{{external_team_id}}',
name: 'Team test',
description: 'description',
workspace_id: '{{workspace-external-id}}',
metadata: {
source: 'GLOBANT'
}
})
}
);
const data = await response.json();
console.log(data);
{
"id": 5001,
"name": "Team test",
"description": "description",
"workspace_id": 1234,
"company_id": 1234,
"created_at": "2025-01-10T14:30:00Z",
"updated_at": "2025-01-10T14:30:00Z"
}
{
"status": "ERROR",
"code": "ZC004",
"message": "Association already exists"
}
Was this page helpful?
⌘I

