Guides
- Getting started
- Authentication
- Pagination
- Usage examples
- Developer Tools
API Documentation
- Accounts
- Authorizations
- Blacklisted Keys
- Branches
- Comment Reactions
- Comment Replies
- Comments
- Custom Metadata
- Distributions
- Documents
- Figma attachments
- Formats
- Glossaries
- Glossary Term Translations
- Glossary Terms
- ICU
- Invitations
- Job Comments
- Job Locales
- Job Template Locales
- Job Templates
- Jobs
- Key's Figma attachments
- Keys
- Linked Keys
- Locale Downloads
- Locales
- Members
- Notification Groups
- Notifications
- Orders
- Organization Job Template Locales
- Organization Job Templates
- Projects
- Quality performance score
- Release Triggers
- Releases
- Repo Sync Events
- Repo Syncs
- Reports
- Screenshot Markers
- Screenshots
- Search
- Spaces
- Style guides
- Tags
- Teams
- Translations
- Uploads
- Users
- Variables
- Versions / History
- Webhook Deliveries
- Webhooks
Teams
Create a Team
Create a new Team.
POST
/
accounts
/
{account_id}
/
teams
cURL
Copy
Ask AI
curl "https://api.phrase.com/v2/accounts/:account_id/teams" \
-u USERNAME_OR_ACCESS_TOKEN \
-X POST \
-d '{"name":"German Translators"}' \
-H 'Content-Type: application/json'
Copy
Ask AI
{
"id": "2e7574e8f2372906a03110c2a7cfe671",
"name": "My first Team",
"created_at": "2020-02-25T12:17:25Z",
"updated_at": "2020-03-13T14:46:57Z",
"projects": [
{
"id": "abcd11231fadef1234adacd1234cdef1234",
"name": "My IOS Project",
"main_format": "yml",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}
],
"spaces": [
{
"id": "626ea67628690c73ac86ac81eec2d185",
"name": "IOS",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z",
"projects_count": 3
}
],
"users": [
{
"id": "3465jhkjhk3465hjjkhl346hklk3456kl",
"username": "Max",
"name": "Max Mustermann",
"position": "Developer",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}
]
}
Authorizations
Enter your token in the format token TOKEN
Headers
Two-Factor-Authentication token (optional)
Path Parameters
Account ID
Body
application/json
Response
201
application/json
Created
The response is of type object
.
Was this page helpful?
cURL
Copy
Ask AI
curl "https://api.phrase.com/v2/accounts/:account_id/teams" \
-u USERNAME_OR_ACCESS_TOKEN \
-X POST \
-d '{"name":"German Translators"}' \
-H 'Content-Type: application/json'
Copy
Ask AI
{
"id": "2e7574e8f2372906a03110c2a7cfe671",
"name": "My first Team",
"created_at": "2020-02-25T12:17:25Z",
"updated_at": "2020-03-13T14:46:57Z",
"projects": [
{
"id": "abcd11231fadef1234adacd1234cdef1234",
"name": "My IOS Project",
"main_format": "yml",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}
],
"spaces": [
{
"id": "626ea67628690c73ac86ac81eec2d185",
"name": "IOS",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z",
"projects_count": 3
}
],
"users": [
{
"id": "3465jhkjhk3465hjjkhl346hklk3456kl",
"username": "Max",
"name": "Max Mustermann",
"position": "Developer",
"created_at": "2015-01-28T09:52:53Z",
"updated_at": "2015-01-28T09:52:53Z"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.