{ "uuid": "de81f516-d76e-4e9f-94ee-4a1b97de73cd", "lastMigration": 29, "name": "Messages API", "endpointPrefix": "v1/messages", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "e6cf7bc0-e48e-428c-8785-a4651db49109", "documentation": "Send a message to the given channel.", "method": "post", "endpoint": "", "responses": [ { "uuid": "66ad08a7-58bb-4112-a288-4d560dee2ec4", "body": "{\n \"message_uuid\": \"aaaaaaaa-bbbb-cccc-dddd-0123456789ab\"\n}", "latency": 0, "statusCode": 202, "label": "Accepted.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d92f0b4c-1ea3-4a18-a65c-2d1703db6a58", "body": "{\n \"detail\": \"Check that you're using the correct credentials, and that your account has this feature enabled\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"You did not provide correct credentials.\",\n \"type\": \"https://developer.nexmo.com/api-errors/#unathorized\"\n}", "latency": 0, "statusCode": 401, "label": "Authentication failure", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a1cd20cb-2994-4100-9790-be63ea72a0e3", "body": "{\n \"detail\": \"This request could not be performed due to your account balance being low.\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"Low balance\",\n \"type\": \"https://developer.nexmo.com/api-errors/#low-balance\"\n}", "latency": 0, "statusCode": 402, "label": "Payment Required", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "89d8cd8e-0ea9-4a11-9d5c-3ab2a5948c7b", "body": "{\n \"detail\": \"Unexpected character ('\\\"' (code 34)): was expecting comma to separate Object entries\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"The request body did not contain valid JSON\",\n \"type\": \"https://developer.nexmo.com/api-errors#invalid-json\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable Entity", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "494d20d5-f47f-4be8-b50b-6db4ca636c44", "body": "{\n \"detail\": \"Please wait, then retry your request\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"Rate Limit Hit\",\n \"type\": \"https://developer.nexmo.com/api-errors/messages-olympus#1010\"\n}", "latency": 0, "statusCode": 429, "label": "Too Many Requests", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "42f5c549-a1c9-46af-a7c2-2bc3aa26b1af", "body": "{\n \"detail\": \"There was an error processing your request in the Platform.\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"Internal error\",\n \"type\": \"https://developer.nexmo.com/api-errors/messages-olympus#1000\"\n}", "latency": 0, "statusCode": 500, "label": "Internal error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "e6cf7bc0-e48e-428c-8785-a4651db49109" } ] }