AkramReqqi Any help i will be appreciated [ { "device_type_id":509, "messages_ttl": 30, "messages_rotate": 0, "name": "tmt_test", "configuration": { "ident":"352625694095***" } } ]
dexif AkramReqqi [ { "device_type_id": 509, "messages_ttl": 30, "messages_rotate": 0, "name": "tmt_test", "configuration": { "ident": "352625694095***", "phone": "+37099999999" } } ]
AkramReqqi { "result": [], "errors": [ { "code": 2, "reason": "#\/[0]\/configuration: additional properties are not allowed (got 'phone')" }, { "code": 2, "reason": "invalid device configuration" } ] }
AkramReqqi [ { "device_type_id":500, "messages_ttl": 3, "messages_rotate": 0, "name": "tmttest3", "configuration": { "ident":"352625694095190", "phone": "+212682406316" } } ]
dexif Yo can get configuration schema for device_type_id here: https://flespi.io/docs/#/gw/channels/get_channel_protocols_protocol_selector_device_types_devtypes_selector Request example: curl -X GET --header 'Authorization: FlespiToken YOURTOKENHERE' 'https://flespi.io/gw/channel-protocols/all/device-types/500?fields=configuration'