{"_id":"56b24e9f9621f20d00efb304","project":"56abd2434e4b730d009eb10a","__v":6,"category":{"_id":"56b4b3eb7bccae0d00e9a12e","version":"56abd2434e4b730d009eb10d","pages":[],"project":"56abd2434e4b730d009eb10a","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-02-05T14:38:35.098Z","from_sync":false,"order":8,"slug":"empresa","title":"Empresa"},"user":"56abd213d4432d1900eed227","parentDoc":null,"version":{"_id":"56abd2434e4b730d009eb10d","project":"56abd2434e4b730d009eb10a","__v":20,"createdAt":"2016-01-29T20:57:39.712Z","releaseDate":"2016-01-29T20:57:39.712Z","categories":["56abd2444e4b730d009eb10e","56abd4c8f25f160d00e17f81","56abd72ff25f160d00e17f84","56b3b8ea9f97020d0012d936","56b3b91ac25dea2b00b0cac9","56b4b2faeed075230097d688","56b4b32deed075230097d689","56b4b37327d9c00d005d6bc4","56b4b3bf3d5f130d00dad120","56b4b3d9eed075230097d68a","56b4b3eb7bccae0d00e9a12e","56b4b4085997532100bc6b61","56fbce6e2885e80e006c855f","5739ed9aad40e23200f674b6","573dd672b3f88f0e00dcae1c","58ad0922e570c62500512a82","58ad092b55018f1900218fda","58e412a5aa544d1b0005f7da","59e62c2a3ccab100263e800a","59e63126b4f8b0002edbe92c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1"},"updates":["574c451a281b010e00009004"],"next":{"pages":[],"description":""},"createdAt":"2016-02-03T19:01:51.392Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -v -H \"Accept: application/json\" -H \"Content-type: application/json\" -X GET  https://app.alegra.com/api/v1/company -u 'usuario:::at:::alegra.co:mitoken'","language":"curl"}]},"method":"get","results":{"codes":[{"name":"Ejemplo consulta exitosa","status":200,"code":"{\n  \"name\" : \"Mi empresa en Alegra\",\n  \"identification\" : \"900.123.123-8\",\n  \"phone\" : \"310 111 11 11\",\n  \"website\" : \"www.alegra.com\",\n  \"email\" : \"soporte@alegra.com\",\n  \"regime\" : \"Régimen común\",\n  \"currency\" : {\n    \"code\" : \"COP\",\n    \"symbol\" : \"$\",\n    \"exchangeRate\" : 2950\n  },\n  \"multicurrency\" : true,\n  \"decimalPrecision\" : 0,\n  \"address\" : {\n  \t\"address\" : \"Dirección de mi oficina\",\n    \"city\" : \"Mi ciudad\"\n\t},\n  \"invoicePreferences\": {\n    \"defaultAnotation\": \"Notas de mi factura\",\n    \"defaultTermsAndConditions\": \"Esta factura se asimila en todos sus efectos a una letra \t\t\tde cambio de conformidad con el Art. 774 del código de comercio. Autorizo que en caso de \t\t incumplimiento de esta obligación sea reportado a las centrales de riesgo, se cobraran \t\tintereses por mora.\"\n  },\n  \"applicationVersion\": \"colombia\",\n  \"registryDate\": \"2016-02-27 14:15:08\",\n  \"logo\": \"https://cdn2.alegra.com/website/Logos_Alegra/Logotipo-Alegra.png\",\n  \"timezone\": \"America/Bogota\"\n}","language":"json"}]},"settings":"","auth":"required","params":[],"url":"/company"},"isReference":true,"order":3,"body":"","excerpt":"Endpoint que permite consultar la información de la cuenta.","slug":"consultar-una-empresa","type":"endpoint","title":"Consultar una empresa"}

getConsultar una empresa

Endpoint que permite consultar la información de la cuenta.

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}