{ "uuid": "7b14336b-95a9-4a4e-97ad-b6791670c92f", "lastMigration": 29, "name": "SMS API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "48b1d2a3-e1a4-49b5-ba61-2ad759471af3", "documentation": "List Messages", "method": "get", "endpoint": "sms/messages", "responses": [ { "uuid": "756fede6-96c2-4b4f-9bac-edbda5128105", "body": "{\n \"data\": [\n {\n \"body\": \"Hi! How are you doing?\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"direction\": \"{{oneOf (array 'inbound' 'outbound-api' 'outbound-call' 'outbound-reply' 'unknown')}}\",\n \"error\": {\n \"code\": \"X1\",\n \"message\": \"Something went wrong\"\n },\n \"from\": \"+15017122661\",\n \"id\": \"12345\",\n \"messaging_service_id\": \"123456\",\n \"number_of_media_files\": 1,\n \"number_of_units\": 1,\n \"price\": {\n \"currency\": \"USD\",\n \"per_unit\": \"0.01\",\n \"total_amount\": \"0.01\"\n },\n \"reference\": \"CUST001\",\n \"scheduled_at\": \"2020-09-30T07:43:32.000Z\",\n \"sent_at\": \"2020-09-30T07:43:32.000Z\",\n \"status\": \"{{oneOf (array 'accepted' 'scheduled' 'canceled' 'queued' 'sending' 'sent' 'failed' 'delivered' 'undelivered' 'receiving' 'received' 'read')}}\",\n \"subject\": \"Picture\",\n \"to\": \"+15017122662\",\n \"type\": \"{{oneOf (array 'sms' 'mms')}}\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"webhook_url\": \"https://unify.apideck.com/webhook/webhooks/eyz329dkffdl4949/x/sms\"\n }\n ],\n \"links\": {\n \"current\": \"https://unify.apideck.com/crm/companies\",\n \"next\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM\",\n \"previous\": \"https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D\"\n },\n \"meta\": {\n \"cursors\": {\n \"current\": \"em9oby1jcm06OnBhZ2U6OjI=\",\n \"next\": \"em9oby1jcm06OnBhZ2U6OjM=\",\n \"previous\": \"em9oby1jcm06OnBhZ2U6OjE=\"\n },\n \"items_on_page\": 50\n },\n \"operation\": \"all\",\n \"resource\": \"Messages\",\n \"service\": \"twilio\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Messages", "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": "4098a669-a687-407a-810e-36d4d16b7013", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "d9f330af-9a3f-4898-9d43-64b9b3f49688", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "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": "7d2b8584-5581-410a-9b2f-2c9c60d5c982", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\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": "01a0a4d0-8f71-4278-b932-6821c35a3681", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "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": "009d7cbe-28cb-46bf-9700-a912ad903564", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "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": "606eb5d7-6118-4472-8900-7d7814c5e2e9", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected 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" }, { "uuid": "1cfc99b7-db5c-472a-a29d-fa4ee965b974", "documentation": "Create Message", "method": "post", "endpoint": "sms/messages", "responses": [ { "uuid": "e3493c9a-7a1c-421c-ae51-40667f4f3a3a", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"add\",\n \"resource\": \"Messages\",\n \"service\": \"twilio\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 201, "label": "Messages", "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": "868a4ecd-0b0a-4667-a7e7-a1ec9a701b4c", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "495095a5-f20a-47db-92c3-b2ee506f4336", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "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": "0d9bf981-da5c-42a0-9c42-7240444fdde4", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\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": "35b694f2-5cc3-4ffb-94e5-0afebd8a3670", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "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": "39a4ec13-e342-4047-b178-bf55a5d6305e", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "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": "065bbafe-3c80-4504-bef4-c8682f80a4d8", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected 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" }, { "uuid": "026501a4-67eb-438c-8c3c-174c0d2dc613", "documentation": "Delete Message", "method": "delete", "endpoint": "sms/messages/:id", "responses": [ { "uuid": "afc474b7-40bb-4b95-9ff7-a0a10991a620", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"delete\",\n \"resource\": \"Messages\",\n \"service\": \"twilio\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Messages", "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": "d0af1506-55e5-4a75-b1e1-5d4dd71d0501", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "7413462a-bfdc-4e22-970a-fd689a54eff1", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "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": "bbc9eb25-ab00-4980-bfa4-273d2adf55e8", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\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": "f9efc005-3854-42ae-b5a5-667fa9484ff4", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "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": "40469b0f-8f9b-4862-af6d-9e4377d51f08", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "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": "e90164a8-fe8b-45d5-b36b-11bfe7efeb68", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected 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" }, { "uuid": "1198324d-1a64-4b5c-9f8a-3c3827e4beb9", "documentation": "Get Message", "method": "get", "endpoint": "sms/messages/:id", "responses": [ { "uuid": "b2e8ef13-5de8-4db9-85e8-f1e33fabedce", "body": "{\n \"data\": {\n \"body\": \"Hi! How are you doing?\",\n \"created_at\": \"2020-09-30T07:43:32.000Z\",\n \"created_by\": \"12345\",\n \"direction\": \"{{oneOf (array 'inbound' 'outbound-api' 'outbound-call' 'outbound-reply' 'unknown')}}\",\n \"error\": {\n \"code\": \"X1\",\n \"message\": \"Something went wrong\"\n },\n \"from\": \"+15017122661\",\n \"id\": \"12345\",\n \"messaging_service_id\": \"123456\",\n \"number_of_media_files\": 1,\n \"number_of_units\": 1,\n \"price\": {\n \"currency\": \"USD\",\n \"per_unit\": \"0.01\",\n \"total_amount\": \"0.01\"\n },\n \"reference\": \"CUST001\",\n \"scheduled_at\": \"2020-09-30T07:43:32.000Z\",\n \"sent_at\": \"2020-09-30T07:43:32.000Z\",\n \"status\": \"{{oneOf (array 'accepted' 'scheduled' 'canceled' 'queued' 'sending' 'sent' 'failed' 'delivered' 'undelivered' 'receiving' 'received' 'read')}}\",\n \"subject\": \"Picture\",\n \"to\": \"+15017122662\",\n \"type\": \"{{oneOf (array 'sms' 'mms')}}\",\n \"updated_at\": \"2020-09-30T07:43:32.000Z\",\n \"updated_by\": \"12345\",\n \"webhook_url\": \"https://unify.apideck.com/webhook/webhooks/eyz329dkffdl4949/x/sms\"\n },\n \"operation\": \"one\",\n \"resource\": \"Messages\",\n \"service\": \"twilio\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Messages", "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": "39c1e1ee-69ee-425a-9507-5a3a7cb65b3c", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "5e3bf5ed-8237-41b4-80cf-64ee22fd69cb", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "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": "c0a3499b-2ca5-4a29-830b-869754ee2769", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\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": "d23358e3-535d-43b8-ad7a-d61913a746d9", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "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": "1a02ed61-abe1-40f7-8579-26197f45a0ed", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "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": "641d0560-70b9-49fd-8e38-07d6fbc4df8d", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected 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" }, { "uuid": "2f91e844-3b88-4143-8f4d-2e44909e4a17", "documentation": "Update Message", "method": "patch", "endpoint": "sms/messages/:id", "responses": [ { "uuid": "1b8cabd9-718e-4d03-9847-7f4bf593a168", "body": "{\n \"data\": {\n \"id\": \"12345\"\n },\n \"operation\": \"update\",\n \"resource\": \"Messages\",\n \"service\": \"twilio\",\n \"status\": \"OK\",\n \"status_code\": 200\n}", "latency": 0, "statusCode": 200, "label": "Messages", "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": "f899ca43-83ad-4e6c-9675-5fd460f3d9f6", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#requestvalidationerror\",\n \"status_code\": 400,\n \"type_name\": \"RequestValidationError\"\n}", "latency": 0, "statusCode": 400, "label": "Bad Request", "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": "f2c7b89b-e6bc-4b84-964b-33c6859525c0", "body": "{\n \"detail\": \"Failed to generate valid JWT Session. Verify applicationId is correct\",\n \"error\": \"Unauthorized\",\n \"message\": \"Unauthorized Request\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 401,\n \"type_name\": \"UnauthorizedError\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "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": "5370171e-8877-489e-a8d8-8c0cb869da87", "body": "{\n \"detail\": \"You have reached your limit of 2000\",\n \"error\": \"Payment Required\",\n \"message\": \"Request Limit Reached\",\n \"ref\": \"https://developers.apideck.com/errors#requestlimiterror\",\n \"status_code\": 402,\n \"type_name\": \"RequestLimitError\"\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": "4476b1d6-2141-42db-a253-888df04c8150", "body": "{\n \"detail\": \"\",\n \"error\": \"Not Found\",\n \"message\": \"Unknown Widget\",\n \"ref\": \"https://developers.apideck.com/errors#entitynotfounderror\",\n \"status_code\": 404,\n \"type_name\": \"EntityNotFoundError\"\n}", "latency": 0, "statusCode": 404, "label": "The specified resource was not found", "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": "ce2547da-921f-4fc9-bb0d-999f48a1610b", "body": "{\n \"detail\": \"Unprocessable request, please verify your request headers and body.\",\n \"error\": \"Unprocessable Entity\",\n \"message\": \"Invalid State\",\n \"ref\": \"https://developers.apideck.com/errors#invalidstateerror\",\n \"status_code\": 422,\n \"type_name\": \"InvalidStateError\"\n}", "latency": 0, "statusCode": 422, "label": "Unprocessable", "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": "d1b4e082-b0c5-489f-8817-1285a55363e2", "body": "{\n \"detail\": \"\",\n \"error\": \"Bad Request\",\n \"message\": \"Invalid Params\",\n \"ref\": \"https://developers.apideck.com/errors#unauthorizederror\",\n \"status_code\": 400,\n \"type_name\": \"RequestHeadersValidationError\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected 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": "48b1d2a3-e1a4-49b5-ba61-2ad759471af3" }, { "type": "route", "uuid": "1cfc99b7-db5c-472a-a29d-fa4ee965b974" }, { "type": "route", "uuid": "026501a4-67eb-438c-8c3c-174c0d2dc613" }, { "type": "route", "uuid": "1198324d-1a64-4b5c-9f8a-3c3827e4beb9" }, { "type": "route", "uuid": "2f91e844-3b88-4143-8f4d-2e44909e4a17" } ] }