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
Formats
List formats
Get a handy list of all localization file formats supported in Phrase.
GET
/
formats
cURL
Copy
Ask AI
curl "https://api.phrase.com/v2/formats"
Copy
Ask AI
[
{
"name": "Ruby/Rails YAML",
"api_name": "yml",
"description": "YAML file format for use with Ruby/Rails applications",
"extension": "yml",
"default_encoding": "UTF-8",
"importable": true,
"exportable": true,
"default_file": "./config/locales/<locale_name>.yml",
"renders_default_locale": false,
"includes_locale_information": true
}
]
Authorizations
Enter your token in the format token TOKEN
Response
200
application/json
OK
The response is of type format · object[]
.
Was this page helpful?
cURL
Copy
Ask AI
curl "https://api.phrase.com/v2/formats"
Copy
Ask AI
[
{
"name": "Ruby/Rails YAML",
"api_name": "yml",
"description": "YAML file format for use with Ruby/Rails applications",
"extension": "yml",
"default_encoding": "UTF-8",
"importable": true,
"exportable": true,
"default_file": "./config/locales/<locale_name>.yml",
"renders_default_locale": false,
"includes_locale_information": true
}
]
Assistant
Responses are generated using AI and may contain mistakes.