Show logged team account details

Show the team details of your logged team

Sandbox endpoint

https://api.platform.sandbox.easytranslate.com/api/v1/teams/:team_name/

In order to show the team details of your logged team, you need to send a GET request

In your request's header, you first need to add your access token, to do so, simply add "Authorization" as a key and "Bearer {{ACCESS_TOKEN}}" (instead of {{ACCESS_TOKEN}}, you should provide your access token), you then need to specify that json should be accepted. To do so, add "Accept" as a key and "application/json" as its value. 

Finally, you need to add a variable to your endpoint path: 

    • Team_name: {{TEAM_NAME}}  
      Instead of {{TEAM_NAME}}, you need to provide the team_name of your team. It can be retrieved from the api/v1/user endpoint.

Sandbox request example

curl --location -g --request GET 'https://api.platform.sandbox.easytranslate.com/api/v1/teams/{{TEAM_NAME}}/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{ACCESS_TOKEN}}'

 

Sandbox response example 

{
"data": {
"type": "account",
"id": "9b405081-cad8-4553-b0be-6f440853bb7e",
"attributes": {
"company_name": "Deadpool",
"company_email": "deadpool@easytranslate.com",
"team_identifier": "deadpool",
"is_parent": true,
"invoice_language": "en",
"receipt_email": "deadpool-receipt@easytranslate.com",
"created_at": "2020-08-27T08:34:13.000000Z",
"updated_at": "2020-08-27T09:31:17.000000Z",
"alerts": {
"conversations": []
},
"project_workflows": {
"translation": {
"display_name": "Translation",
"identifier": "translation",
"is_available": true
},
"self+machine_translation": {
"display_name": "Translate Yourself + MT",
"identifier": "self+machine_translation",
"is_available": true
},
"translation+review": {
"display_name": "Translation + Review",
"identifier": "translation+review",
"is_available": true
}
},
"language_pairs": {
"translation": {
"en": {
"name": "English",
"code": "en",
"target_languages": [
{
"name": "Swedish",
"code": "sv"
},
{
"name": "Dutch (Standard)",
"code": "nl_NL"
}
]
},
"da": {
"name": "Danish",
"code": "da",
"target_languages": [
{
"name": "English (United Kingdom)",
"code": "en_GB"
}
]
}
},
"review": {
"en": {
"name": "English",
"code": "en",
"target_languages": [
{
"name": "Danish",
"code": "da"
}
]
}
}
}
},
"relationships": []
},
"meta": {
"copyright": "Copyright 2020 EasyTranslate A/S",
"environment": "sandbox"
}
}